Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9713/0.9713, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.345e-05, allocations: 2.312 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004238/0.004251, allocations: 5.497 MB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.006335, allocations: 1.818 MB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.006517, allocations: 16 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.008218, allocations: 1.723 MB / 282 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007774/0.008995, allocations: 0.5902 MB / 282.6 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.009445, allocations: 402.8 kB / 282.9 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.01001, allocations: 0.8363 MB / 283.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007593/0.01077, allocations: 0.7354 MB / 284.5 MB, free: 5.777 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.01118, allocations: 0.5184 MB / 285 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.0115, allocations: 387 kB / 285.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.01158, allocations: 76 kB / 285.5 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.01186, allocations: 243.6 kB / 285.7 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.01196, allocations: 195.2 kB / 285.9 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.01213, allocations: 283.3 kB / 286.2 MB, free: 4.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009197/0.01305, allocations: 0.7744 MB / 287 MB, free: 3.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.01305, allocations: 4 kB / 287 MB, free: 3.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01305, allocations: 0 / 287 MB, free: 3.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.01306, allocations: 0 / 287 MB, free: 3.316 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001821/0.01488, allocations: 1.408 MB / 288.4 MB, free: 1.871 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.01491, allocations: 11.98 kB / 288.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.01721, allocations: 0.8158 MB / 289.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.01757, allocations: 360.2 kB / 289.6 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.01761, allocations: 74.38 kB / 289.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.0177, allocations: 100.3 kB / 289.7 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1186/0.1363, allocations: 0.8056 MB / 290.5 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.1363, allocations: 2.875 kB / 290.5 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.1364, allocations: 41.89 kB / 290.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.1364, allocations: 21.19 kB / 290.6 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.1372, allocations: 0.5403 MB / 291.1 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.1402, allocations: 2.898 MB / 294 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.1414, allocations: 0.763 MB / 294.8 MB, free: 17.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.1416, allocations: 185.1 kB / 295 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.793e-05/0.1417, allocations: 36.02 kB / 295 MB, free: 17.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1417, allocations: 49.91 kB / 295.1 MB, free: 17.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.485e-06/0.1417, allocations: 0 / 295.1 MB, free: 17.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0007785/0.1425, allocations: 0.5046 MB / 295.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1425, allocations: 115.6 kB / 295.7 MB, free: 17.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1427, allocations: 323.6 kB / 296 MB, free: 17.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1427, allocations: 37.12 kB / 296 MB, free: 17.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.1429, allocations: 446.2 kB / 296.5 MB, free: 16.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.143, allocations: 236.7 kB / 296.7 MB, free: 16.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.1431, allocations: 147.7 kB / 296.8 MB, free: 16.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.1432, allocations: 0.5206 MB / 297.4 MB, free: 16.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.1434, allocations: 128.9 kB / 297.5 MB, free: 16.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.1436, allocations: 433.7 kB / 297.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.1441, allocations: 0.6018 MB / 298.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1441, allocations: 1.688 kB / 298.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006981/0.1448, allocations: 0.6163 MB / 299.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1448, allocations: 8.594 kB / 299.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.1449, allocations: 6.5 kB / 299.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.1449, allocations: 11.48 kB / 299.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.1453, allocations: 186.9 kB / 299.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.1453, allocations: 15.52 kB / 299.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.1455, allocations: 80.34 kB / 299.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.1455, allocations: 32.86 kB / 299.5 MB, free: 15.33 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.1456, allocations: 206 kB / 299.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.1457, allocations: 65.28 kB / 299.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005942/0.1463, allocations: 0.493 MB / 300.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1463, allocations: 8.188 kB / 300.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1463, allocations: 1.078 kB / 300.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1463, allocations: 7.516 kB / 300.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.1475, allocations: 1.175 MB / 301.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1475, allocations: 1.125 kB / 301.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.1478, allocations: 136.5 kB / 301.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.1478, allocations: 7.828 kB / 301.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.1479, allocations: 15.34 kB / 301.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1479, allocations: 12.12 kB / 301.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1479, allocations: 0 / 301.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/0.1486, allocations: 0.9639 MB / 302.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.1487, allocations: 46.94 kB / 302.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.1487, allocations: 12.78 kB / 302.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.1489, allocations: 22.3 kB / 302.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.1489, allocations: 48.12 kB / 302.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.149, allocations: 20.58 kB / 302.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.033e-05/0.149, allocations: 197.9 kB / 302.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.149, allocations: 1.375 kB / 302.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000467/0.1495, allocations: 235.7 kB / 303.1 MB, free: 13.49 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.1497, allocations: 146.3 kB / 303.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005554/0.1502, allocations: 447.1 kB / 303.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1502, allocations: 0 / 303.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.1505, allocations: 221.2 kB / 303.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1508, allocations: 51.53 kB / 304 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1522, allocations: 1.16 MB / 305.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.1523, allocations: 141.6 kB / 305.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.1524, allocations: 75.7 kB / 305.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.74e-05/0.1525, allocations: 55.64 kB / 305.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1525, allocations: 0 / 305.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Templates: time 0.007011/0.1595, allocations: 4.395 MB / 309.8 MB, free: 11.37 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.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: 3.034890462178737]