Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.0009992/0.0009992, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.000996/0.000996, allocations: 169.5 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9325/0.9325, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.21e-05, allocations: 6.25 kB / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00427/0.004282, allocations: 5.349 MB / 278.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.006099, allocations: 1.803 MB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.006283, allocations: 20 kB / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.00783, allocations: 1.676 MB / 282.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007083/0.008538, allocations: 0.5902 MB / 282.8 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.008948, allocations: 398.9 kB / 283.2 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.009448, allocations: 0.8246 MB / 284 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008126/0.01026, allocations: 0.7393 MB / 284.8 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.01064, allocations: 0.5261 MB / 285.3 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.01093, allocations: 383 kB / 285.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.011, allocations: 80 kB / 285.8 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.01127, allocations: 239.6 kB / 286 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.01135, allocations: 191.2 kB / 286.2 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.01152, allocations: 283.3 kB / 286.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.0121, allocations: 0.7744 MB / 287.2 MB, free: 3.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.0121, allocations: 4 kB / 287.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.0121, allocations: 0 / 287.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.01211, allocations: 0 / 287.2 MB, free: 3.383 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.00166/0.01377, allocations: 1.42 MB / 288.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.0138, allocations: 12.03 kB / 288.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.01603, allocations: 0.8079 MB / 289.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.01636, allocations: 370.7 kB / 289.8 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.0164, allocations: 78.31 kB / 289.9 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.01648, allocations: 92.38 kB / 290 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1024/0.1189, allocations: 0.7321 MB / 290.7 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.1189, allocations: 3.438 kB / 290.7 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/0.119, allocations: 42.12 kB / 290.8 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.119, allocations: 26.34 kB / 290.8 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006313/0.1196, allocations: 449.3 kB / 291.2 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.1223, allocations: 2.921 MB / 294.2 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/0.1232, allocations: 0.7298 MB / 294.9 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.1234, allocations: 156.8 kB / 295.1 MB, free: 17.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.1235, allocations: 39.16 kB / 295.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1235, allocations: 46.91 kB / 295.1 MB, free: 17.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 2.114e-06/0.1235, allocations: 0 / 295.1 MB, free: 17.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0005555/0.124, allocations: 448.1 kB / 295.6 MB, free: 17.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.1241, allocations: 119.5 kB / 295.7 MB, free: 17.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1242, allocations: 320 kB / 296 MB, free: 16.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.1243, allocations: 33.95 kB / 296 MB, free: 16.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1244, allocations: 444.3 kB / 296.5 MB, free: 16.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.474e-05/0.1245, allocations: 241.7 kB / 296.7 MB, free: 16.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.1246, allocations: 150.3 kB / 296.9 MB, free: 16.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.1247, allocations: 0.5259 MB / 297.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.1248, allocations: 96.66 kB / 297.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.125, allocations: 405.8 kB / 297.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.1254, allocations: 0.5526 MB / 298.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1254, allocations: 2.281 kB / 298.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005536/0.126, allocations: 0.5475 MB / 299 MB, free: 15.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.126, allocations: 9.469 kB / 299 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.126, allocations: 5.719 kB / 299 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.126, allocations: 14.16 kB / 299 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.1264, allocations: 195.5 kB / 299.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1264, allocations: 15.8 kB / 299.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.1266, allocations: 75.47 kB / 299.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.1266, allocations: 29.44 kB / 299.3 MB, free: 15.11 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.000116/0.1268, allocations: 206.7 kB / 299.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.1268, allocations: 60.58 kB / 299.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/0.1273, allocations: 451.3 kB / 300 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1273, allocations: 7.812 kB / 300 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1273, allocations: 2 kB / 300 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1274, allocations: 5.156 kB / 300 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.1284, allocations: 1.036 MB / 301.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1284, allocations: 3.625 kB / 301.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.1287, allocations: 135.7 kB / 301.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1287, allocations: 3.562 kB / 301.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.1288, allocations: 16.73 kB / 301.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1288, allocations: 5.75 kB / 301.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1288, allocations: 6.719 kB / 301.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.1294, allocations: 0.8852 MB / 302.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.1294, allocations: 43.42 kB / 302.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.1295, allocations: 15.33 kB / 302.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1296, allocations: 17.84 kB / 302.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.1297, allocations: 55.03 kB / 302.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.1297, allocations: 15.95 kB / 302.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.907e-05/0.1298, allocations: 199.6 kB / 302.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1298, allocations: 0 / 302.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004917/0.1303, allocations: 228.6 kB / 302.7 MB, free: 13.91 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.0001735/0.1305, allocations: 144.3 kB / 302.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004129/0.1309, allocations: 399.9 kB / 303.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1309, allocations: 0 / 303.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.131, allocations: 200.7 kB / 303.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1314, allocations: 48.86 kB / 303.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1327, allocations: 1.133 MB / 304.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.225e-05/0.1328, allocations: 144.6 kB / 304.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.1329, allocations: 81.17 kB / 304.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.1331, allocations: 147.7 kB / 304.9 MB, free: 13 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1331, allocations: 0 / 304.9 MB, free: 13 MB / 266.7 MB Notification: Performance of Templates: time 0.006738/0.1398, allocations: 4.907 MB / 309.9 MB, free: 11.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 2.64756749663502]