Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8768/0.8768, allocations: 158.6 MB / 187.5 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 251.1 MB, free: 7.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.359e-05, allocations: 2.312 kB / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004032/0.004056, allocations: 3.693 MB / 254.8 MB, free: 4.102 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.005514, allocations: 1.002 MB / 255.8 MB, free: 3.094 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.005703, allocations: 23.81 kB / 255.8 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.00598, allocations: 154.8 kB / 256 MB, free: 2.918 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.006623, allocations: 310 kB / 256.3 MB, free: 2.613 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.006836, allocations: 139.8 kB / 256.4 MB, free: 2.477 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009164/0.007752, allocations: 1.454 MB / 257.9 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.008274, allocations: 0.5717 MB / 258.4 MB, free: 420 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006634/0.008937, allocations: 0.9239 MB / 259.4 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.009631, allocations: 0.7678 MB / 260.1 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.009763, allocations: 160 kB / 260.3 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.009907, allocations: 156 kB / 260.4 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.01018, allocations: 482.6 kB / 260.9 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.01056, allocations: 0.5106 MB / 261.4 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008572/0.01142, allocations: 1.227 MB / 262.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01142, allocations: 0 / 262.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01142, allocations: 0 / 262.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.01144, allocations: 0 / 262.6 MB, free: 12.19 MB / 250.7 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.00177/0.01321, allocations: 1.766 MB / 264.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.01325, allocations: 15.98 kB / 264.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.01349, allocations: 232 kB / 264.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007331/0.01423, allocations: 0.6739 MB / 265.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.01428, allocations: 82.59 kB / 265.4 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.0144, allocations: 116.4 kB / 265.5 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.01558, allocations: 1.02 MB / 266.5 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.0156, allocations: 0 / 266.5 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.01567, allocations: 44 kB / 266.6 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.01569, allocations: 28 kB / 266.6 MB, free: 8.062 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.01639, allocations: 388.8 kB / 267 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.0197, allocations: 3.378 MB / 270.4 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.02011, allocations: 356.7 kB / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.02038, allocations: 197.8 kB / 270.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.0204, allocations: 8.5 kB / 270.9 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.02043, allocations: 45.88 kB / 271 MB, free: 3.551 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.994e-06/0.02044, allocations: 0 / 271 MB, free: 3.551 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.00146/0.02189, allocations: 1.037 MB / 272 MB, free: 2.469 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.02192, allocations: 59.91 kB / 272.1 MB, free: 2.398 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.02248, allocations: 0.6753 MB / 272.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.02251, allocations: 37.7 kB / 272.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.0228, allocations: 0.6197 MB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.837e-05/0.02289, allocations: 194.4 kB / 273.6 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.02301, allocations: 112 kB / 273.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.02319, allocations: 0.5859 MB / 274.3 MB, free: 132 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.02333, allocations: 73.25 kB / 274.3 MB, free: 60 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.02354, allocations: 223.5 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.0239, allocations: 314.4 kB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.0239, allocations: 0 / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005787/0.02448, allocations: 476.4 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.0245, allocations: 8 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.0245, allocations: 320 / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.02472, allocations: 75.59 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.02502, allocations: 119.9 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.02642, allocations: 2.348 MB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.02659, allocations: 27.97 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.02661, allocations: 16 kB / 277.9 MB, free: 12.25 MB / 266.7 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.000185/0.0268, allocations: 192.4 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.02688, allocations: 95.53 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.02696, allocations: 82.86 kB / 278.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.02696, allocations: 7.984 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.02697, allocations: 4 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.02697, allocations: 3.984 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.02885, allocations: 1.464 MB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.02886, allocations: 0 / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.02906, allocations: 87.83 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/0.02922, allocations: 75.73 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.02925, allocations: 15.98 kB / 279.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.03052, allocations: 2.317 MB / 282.3 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03052, allocations: 0 / 282.3 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/0.03119, allocations: 0.6695 MB / 282.9 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.03128, allocations: 83.52 kB / 283 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.03133, allocations: 23.98 kB / 283 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.03153, allocations: 44.02 kB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.03162, allocations: 44.42 kB / 283.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.03164, allocations: 16 kB / 283.1 MB, free: 6.777 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000354/0.03199, allocations: 435 kB / 283.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03199, allocations: 0 / 283.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004942/0.03249, allocations: 208 kB / 283.8 MB, free: 6.156 MB / 266.7 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.0001327/0.03262, allocations: 115.2 kB / 283.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006418/0.03326, allocations: 0.5 MB / 284.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.03326, allocations: 0 / 284.4 MB, free: 5.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.0336, allocations: 382.1 kB / 284.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.03412, allocations: 178.9 kB / 284.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.03659, allocations: 1.889 MB / 286.8 MB, free: 2.996 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.03687, allocations: 366.8 kB / 287.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002637/0.03713, allocations: 141.5 kB / 287.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.03724, allocations: 48.5 kB / 287.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.03724, allocations: 0 / 287.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of Templates: time 0.01293/0.05017, allocations: 10.28 MB / 297.6 MB, free: 8.195 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.948060194030404]