Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 78.19 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 151.8 kB / 24.81 MB, free: 9.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9739/0.9739, allocations: 173.3 MB / 201.4 MB, free: 9.207 MB / 186.7 MB " [Timeout remaining time 179] 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.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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.522e-05, allocations: 6.25 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004458/0.004474, allocations: 5.346 MB / 273.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.007105, allocations: 1.744 MB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.007422, allocations: 20 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.009186, allocations: 1.672 MB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.01037, allocations: 0.7185 MB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.01084, allocations: 279.3 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007345/0.01158, allocations: 0.8364 MB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008818/0.01246, allocations: 0.7508 MB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004702/0.01293, allocations: 0.5183 MB / 280.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.01329, allocations: 387 kB / 280.7 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.555e-05/0.01338, allocations: 80 kB / 280.7 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.01375, allocations: 223.7 kB / 281 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.01385, allocations: 191.2 kB / 281.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.01404, allocations: 287.3 kB / 281.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007644/0.01481, allocations: 0.7744 MB / 282.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.01481, allocations: 4 kB / 282.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01481, allocations: 3.938 kB / 282.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.01482, allocations: 0 / 282.2 MB, free: 8.301 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.001848/0.01667, allocations: 1.412 MB / 283.6 MB, free: 6.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.0167, allocations: 12.91 kB / 283.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.01901, allocations: 0.8431 MB / 284.5 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.0194, allocations: 367.4 kB / 284.8 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.01944, allocations: 74.38 kB / 284.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.01953, allocations: 92.38 kB / 285 MB, free: 5.445 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000706/0.02024, allocations: 0.7352 MB / 285.7 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.02026, allocations: 4.188 kB / 285.7 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.02031, allocations: 40.38 kB / 285.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.02032, allocations: 27.94 kB / 285.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.02079, allocations: 433.5 kB / 286.2 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.02337, allocations: 2.916 MB / 289.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/0.02428, allocations: 0.7301 MB / 289.9 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.02442, allocations: 156.1 kB / 290 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.02448, allocations: 32.64 kB / 290.1 MB, free: 184 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.0245, allocations: 46.03 kB / 290.1 MB, free: 128 kB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 1.993e-06/0.02451, allocations: 0 / 290.1 MB, free: 128 kB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.1032/0.1277, allocations: 439.1 kB / 290.5 MB, free: 22.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.1278, allocations: 114.2 kB / 290.6 MB, free: 22.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.128, allocations: 318.4 kB / 291 MB, free: 22.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.128, allocations: 35.77 kB / 291 MB, free: 22.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1282, allocations: 443.7 kB / 291.4 MB, free: 22.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.1283, allocations: 239 kB / 291.7 MB, free: 22.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.1284, allocations: 152 kB / 291.8 MB, free: 22.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.1285, allocations: 0.5234 MB / 292.3 MB, free: 21.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1286, allocations: 97.48 kB / 292.4 MB, free: 21.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1288, allocations: 402.6 kB / 292.8 MB, free: 21.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.1292, allocations: 0.5485 MB / 293.4 MB, free: 20.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.1292, allocations: 3.328 kB / 293.4 MB, free: 20.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005831/0.1298, allocations: 0.5399 MB / 293.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1298, allocations: 8.547 kB / 293.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1298, allocations: 6.344 kB / 293.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1298, allocations: 11.38 kB / 293.9 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.1302, allocations: 192.8 kB / 294.1 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1303, allocations: 15.89 kB / 294.1 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.1305, allocations: 80.52 kB / 294.2 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.1305, allocations: 29.59 kB / 294.2 MB, free: 20.78 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.0001278/0.1306, allocations: 201 kB / 294.4 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.1307, allocations: 64.11 kB / 294.5 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.1312, allocations: 448.8 kB / 294.9 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.1312, allocations: 11.62 kB / 295 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1312, allocations: 1.281 kB / 295 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1312, allocations: 6.406 kB / 295 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.1323, allocations: 1.018 MB / 296 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1323, allocations: 1.062 kB / 296 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.1326, allocations: 140 kB / 296.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1326, allocations: 4.344 kB / 296.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.1326, allocations: 14.45 kB / 296.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1326, allocations: 3.531 kB / 296.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1326, allocations: 5.656 kB / 296.1 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.1332, allocations: 0.8843 MB / 297 MB, free: 19.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.1333, allocations: 48.69 kB / 297.1 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/0.1333, allocations: 12.44 kB / 297.1 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1335, allocations: 21.86 kB / 297.1 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.1335, allocations: 47.64 kB / 297.2 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1336, allocations: 16.53 kB / 297.2 MB, free: 19.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.837e-05/0.1336, allocations: 194.3 kB / 297.4 MB, free: 19.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1336, allocations: 5.562 kB / 297.4 MB, free: 19.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000489/0.1341, allocations: 221 kB / 297.6 MB, free: 19.59 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.0001684/0.1343, allocations: 155.6 kB / 297.7 MB, free: 19.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004024/0.1347, allocations: 398.5 kB / 298.1 MB, free: 19.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1347, allocations: 0 / 298.1 MB, free: 19.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.1349, allocations: 196.2 kB / 298.3 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1352, allocations: 44.31 kB / 298.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.1365, allocations: 1.134 MB / 299.5 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.211e-05/0.1366, allocations: 141.2 kB / 299.6 MB, free: 18.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.1368, allocations: 75.48 kB / 299.7 MB, free: 18.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.137, allocations: 145.2 kB / 299.8 MB, free: 18.71 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.137, allocations: 0 / 299.8 MB, free: 18.71 MB / 266.7 MB Notification: Performance of Templates: time 0.007072/0.1441, allocations: 4.727 MB / 304.6 MB, free: 18.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.7637295182794333]