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.001221/0.001221, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001296/0.001296, allocations: 160.2 kB / 24.91 MB, free: 8.762 MB / 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.8732/0.8732, allocations: 177 MB / 205.2 MB, free: 4.996 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.302e-06/1.302e-06, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.245e-05, allocations: 5.406 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.004152/0.004164, allocations: 5.361 MB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.006608, allocations: 1.884 MB / 280.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.006854, allocations: 20 kB / 280.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.008521, allocations: 1.719 MB / 282.4 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008447/0.009366, allocations: 0.5941 MB / 283 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.009848, allocations: 414.7 kB / 283.4 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005991/0.01045, allocations: 0.8247 MB / 284.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007636/0.01121, allocations: 0.8017 MB / 285 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.01163, allocations: 0.5145 MB / 285.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.01194, allocations: 391 kB / 285.9 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.01201, allocations: 76 kB / 286 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.01233, allocations: 235.7 kB / 286.2 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.01242, allocations: 195.2 kB / 286.4 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.01259, allocations: 283.3 kB / 286.7 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006215/0.01321, allocations: 0.786 MB / 287.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.01321, allocations: 0 / 287.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.01321, allocations: 0 / 287.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.01322, allocations: 0 / 287.4 MB, free: 2.883 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.00168/0.0149, allocations: 1.334 MB / 288.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.01492, allocations: 15.97 kB / 288.8 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.01723, allocations: 0.8902 MB / 289.7 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.01752, allocations: 236.7 kB / 289.9 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.01756, allocations: 74.38 kB / 290 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.159e-05/0.01764, allocations: 96.38 kB / 290.1 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0947/0.1123, allocations: 0.7197 MB / 290.8 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.1124, allocations: 5.078 kB / 290.8 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.1124, allocations: 40.44 kB / 290.9 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.1124, allocations: 24.72 kB / 290.9 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.1129, allocations: 378.8 kB / 291.2 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.1153, allocations: 2.368 MB / 293.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/0.1161, allocations: 0.6507 MB / 294.3 MB, free: 17.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1162, allocations: 131.1 kB / 294.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.938e-05/0.1163, allocations: 35.64 kB / 294.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1163, allocations: 47.83 kB / 294.5 MB, free: 17.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=65): time 1.763e-06/0.1163, allocations: 0.625 kB / 294.5 MB, free: 17.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0004216/0.1168, allocations: 340 kB / 294.8 MB, free: 17.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.1168, allocations: 114.2 kB / 294.9 MB, free: 17.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1169, allocations: 246.5 kB / 295.2 MB, free: 17.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1169, allocations: 35.27 kB / 295.2 MB, free: 17.51 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.117, allocations: 389.6 kB / 295.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.1171, allocations: 235.9 kB / 295.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.1172, allocations: 135.9 kB / 295.9 MB, free: 17.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.1173, allocations: 351.4 kB / 296.3 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.275e-05/0.1174, allocations: 82.03 kB / 296.4 MB, free: 16.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1175, allocations: 301.1 kB / 296.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.1178, allocations: 469.4 kB / 297.1 MB, free: 16.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1178, allocations: 2.938 kB / 297.1 MB, free: 16.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004206/0.1183, allocations: 441.9 kB / 297.5 MB, free: 16.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1183, allocations: 11 kB / 297.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1183, allocations: 7.625 kB / 297.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1183, allocations: 10.41 kB / 297.6 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.1187, allocations: 184.5 kB / 297.8 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1187, allocations: 15.72 kB / 297.8 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1188, allocations: 78.73 kB / 297.8 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.1189, allocations: 27.41 kB / 297.9 MB, free: 16.28 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.0001072/0.119, allocations: 154.3 kB / 298 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.1191, allocations: 52.23 kB / 298.1 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.1194, allocations: 363.8 kB / 298.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1195, allocations: 8.219 kB / 298.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1195, allocations: 0.6562 kB / 298.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1195, allocations: 4.781 kB / 298.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.1203, allocations: 0.7482 MB / 299.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1203, allocations: 2.703 kB / 299.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.1206, allocations: 134.8 kB / 299.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1206, allocations: 3.094 kB / 299.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.1206, allocations: 14.83 kB / 299.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1206, allocations: 3.297 kB / 299.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1206, allocations: 1.25 kB / 299.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.1211, allocations: 0.657 MB / 300 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.1211, allocations: 42.11 kB / 300 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1211, allocations: 15.62 kB / 300.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1213, allocations: 22.94 kB / 300.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.1214, allocations: 47.66 kB / 300.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1214, allocations: 16.38 kB / 300.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.24e-05/0.1214, allocations: 71.97 kB / 300.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1214, allocations: 4 kB / 300.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000419/0.1218, allocations: 233.2 kB / 300.4 MB, free: 15.51 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.0001547/0.122, allocations: 131.4 kB / 300.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.1223, allocations: 366 kB / 300.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.1223, allocations: 4.625 kB / 300.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.1225, allocations: 180.3 kB / 301.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.1228, allocations: 39.97 kB / 301.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.124, allocations: 1.101 MB / 302.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.1241, allocations: 141.8 kB / 302.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.1243, allocations: 80.16 kB / 302.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.1244, allocations: 122.5 kB / 302.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1244, allocations: 0 / 302.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Templates: time 0.006544/0.131, allocations: 4.823 MB / 307.4 MB, free: 13.67 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: 2.5141066471114755]