Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 109.4 kB / 16.92 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 191.3 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 48.77 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1117, allocations: 49.45 MB / 350.1 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.006067/0.1178, allocations: 3.75 MB / 353.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1199, allocations: 0.9581 MB / 354.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004946/0.1204, allocations: 23.88 kB / 354.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.1208, allocations: 142.8 kB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000992/0.1219, allocations: 282.4 kB / 355.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1222, allocations: 123.9 kB / 355.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.1237, allocations: 1.381 MB / 356.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.125, allocations: 1.178 MB / 357.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007703/0.1258, allocations: 0.627 MB / 358.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.1268, allocations: 0.755 MB / 359.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.1271, allocations: 156 kB / 359.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.1273, allocations: 156 kB / 359.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003772/0.1277, allocations: 470.7 kB / 360 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006659/0.1284, allocations: 0.7311 MB / 360.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.1298, allocations: 2.014 MB / 362.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1298, allocations: 0 / 362.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1298, allocations: 0 / 362.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.1299, allocations: 0 / 362.8 MB, free: 7.621 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002479/0.1323, allocations: 1.674 MB / 364.4 MB, free: 5.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1324, allocations: 11.97 kB / 364.5 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.1326, allocations: 139.3 kB / 364.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.1337, allocations: 0.8345 MB / 365.4 MB, free: 4.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.1337, allocations: 86.59 kB / 365.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.1339, allocations: 111.9 kB / 365.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.136, allocations: 1.544 MB / 367.2 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.136, allocations: 4 kB / 367.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.791e-05/0.1361, allocations: 44 kB / 367.2 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.1361, allocations: 28 kB / 367.2 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.138, allocations: 1.312 MB / 368.6 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1861/0.3241, allocations: 4.21 MB / 372.8 MB, free: 23.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3253, allocations: 1.313 MB / 374.1 MB, free: 22.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009884/0.3263, allocations: 465.8 kB / 374.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.3264, allocations: 4.781 kB / 374.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3264, allocations: 42.92 kB / 374.6 MB, free: 22.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.955e-06/0.3264, allocations: 0 / 374.6 MB, free: 22.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003561/0.33, allocations: 1.95 MB / 376.5 MB, free: 21.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.33, allocations: 55.97 kB / 376.6 MB, free: 21.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.3312, allocations: 0.8181 MB / 377.4 MB, free: 21.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.3313, allocations: 33.5 kB / 377.4 MB, free: 21.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.3316, allocations: 0.5448 MB / 378 MB, free: 20.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3317, allocations: 174.7 kB / 378.1 MB, free: 20.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.3319, allocations: 102.9 kB / 378.2 MB, free: 20.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.332, allocations: 385.8 kB / 378.6 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.3325, allocations: 304.4 kB / 378.9 MB, free: 19.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/0.333, allocations: 407.3 kB / 379.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.3341, allocations: 0.7042 MB / 380 MB, free: 19.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3341, allocations: 0.875 kB / 380 MB, free: 19.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001421/0.3355, allocations: 0.9162 MB / 380.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3356, allocations: 6.531 kB / 380.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3356, allocations: 6.031 kB / 381 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/0.3359, allocations: 114.6 kB / 381.1 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.3364, allocations: 125 kB / 381.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.3385, allocations: 2.353 MB / 383.5 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.339, allocations: 31.48 kB / 383.6 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.339, allocations: 18.97 kB / 383.6 MB, free: 17.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006318/0.3397, allocations: 465 kB / 384 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.3398, allocations: 73.02 kB / 384.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.34, allocations: 89.05 kB / 384.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.34, allocations: 9.453 kB / 384.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.34, allocations: 1.969 kB / 384.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.34, allocations: 2.969 kB / 384.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/0.3433, allocations: 2.02 MB / 386.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3434, allocations: 1.375 kB / 386.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.3437, allocations: 88.64 kB / 386.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/0.3439, allocations: 108.1 kB / 386.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.344, allocations: 17.2 kB / 386.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.3456, allocations: 2.331 MB / 388.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3457, allocations: 1.156 kB / 388.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.3471, allocations: 1.199 MB / 390 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.3473, allocations: 164.1 kB / 390.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/0.3474, allocations: 17.12 kB / 390.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.3478, allocations: 47.2 kB / 390.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/0.3479, allocations: 39.62 kB / 390.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.3479, allocations: 18 kB / 390.3 MB, free: 13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006904/0.3486, allocations: 0.5893 MB / 390.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3486, allocations: 0 / 390.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008272/0.3495, allocations: 211.5 kB / 391.1 MB, free: 12.65 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.3496, allocations: 118.2 kB / 391.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.3509, allocations: 0.9423 MB / 392.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3509, allocations: 1.094 kB / 392.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006198/0.3516, allocations: 490.5 kB / 392.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008318/0.3524, allocations: 177.9 kB / 392.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.3557, allocations: 2.212 MB / 395 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.3564, allocations: 1.332 MB / 396.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003834/0.3568, allocations: 187.1 kB / 396.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.3569, allocations: 51.92 kB / 396.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3569, allocations: 0 / 396.5 MB, free: 9.258 MB / 302.1 MB Notification: Performance of Templates: time 0.01536/0.3723, allocations: 10.44 MB / 407 MB, free: 15.67 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches