Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.007281/0.007281, allocations: 107.1 kB / 21.98 MB, free: 5.223 MB / 14.72 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.002003/0.002003, allocations: 211.9 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 259 MB, free: 8.293 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 68.77 kB / 379.8 MB, free: 2.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.248, allocations: 53.37 MB / 433.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007608/0.2556, allocations: 5.671 MB / 438.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003804/0.2594, allocations: 1.9 MB / 440.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005367/0.26, allocations: 20 kB / 440.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003825/0.2638, allocations: 1.625 MB / 442.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.2657, allocations: 0.5973 MB / 443 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009592/0.2667, allocations: 414.8 kB / 443.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.2678, allocations: 0.8017 MB / 444.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.269, allocations: 0.7663 MB / 445 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005243/0.2696, allocations: 362.7 kB / 445.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000599/0.2702, allocations: 494.1 kB / 445.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.2703, allocations: 83.94 kB / 445.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.2708, allocations: 239.9 kB / 446.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.271, allocations: 183.4 kB / 446.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.2714, allocations: 425.9 kB / 446.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.2729, allocations: 1.18 MB / 447.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2729, allocations: 0 / 447.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2729, allocations: 0 / 447.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.2729, allocations: 4 kB / 447.9 MB, free: 8.246 MB / 350.1 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.003376/0.2763, allocations: 1.293 MB / 449.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2764, allocations: 8.031 kB / 449.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004579/0.2809, allocations: 0.6209 MB / 449.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008598/0.2818, allocations: 365.3 kB / 450.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.2819, allocations: 74.38 kB / 450.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.282, allocations: 96.38 kB / 450.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.2839, allocations: 0.994 MB / 451.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.284, allocations: 4 kB / 451.3 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/0.2841, allocations: 36 kB / 451.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.2841, allocations: 24 kB / 451.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.2858, allocations: 0.9369 MB / 452.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004868/0.2906, allocations: 3.158 MB / 455.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.2925, allocations: 0.7711 MB / 456.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.2929, allocations: 252.4 kB / 456.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.293, allocations: 28.62 kB / 456.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.2931, allocations: 39.22 kB / 456.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.624e-06/0.2931, allocations: 0 / 456.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001509/0.2946, allocations: 0.732 MB / 457.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.2947, allocations: 115.5 kB / 457.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.295, allocations: 269.8 kB / 457.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.295, allocations: 37.7 kB / 457.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.2953, allocations: 391.9 kB / 458.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.2955, allocations: 237.9 kB / 458.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.2957, allocations: 138.7 kB / 458.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2959, allocations: 346.8 kB / 458.8 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/0.2963, allocations: 225.9 kB / 459 MB, free: 12.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.2969, allocations: 440.1 kB / 459.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.298, allocations: 0.6969 MB / 460.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.298, allocations: 0 / 460.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001353/0.2993, allocations: 0.7665 MB / 460.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2993, allocations: 11.94 kB / 460.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2994, allocations: 4 kB / 460.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.2994, allocations: 12 kB / 460.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.3001, allocations: 195.7 kB / 461.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.3001, allocations: 11.94 kB / 461.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.3005, allocations: 87.58 kB / 461.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.3006, allocations: 35.98 kB / 461.3 MB, free: 10.36 MB / 366.1 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.0003246/0.3009, allocations: 222.2 kB / 461.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.301, allocations: 43.7 kB / 461.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.3023, allocations: 0.6462 MB / 462.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3023, allocations: 8 kB / 462.2 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3023, allocations: 4 kB / 462.2 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3023, allocations: 3.984 kB / 462.2 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.3048, allocations: 1.463 MB / 463.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3048, allocations: 0 / 463.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.3053, allocations: 139.8 kB / 463.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.3053, allocations: 4 kB / 463.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.3054, allocations: 15.98 kB / 463.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.617e-06/0.3054, allocations: 11.88 kB / 463.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3054, allocations: 0 / 463.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.3071, allocations: 1.131 MB / 464.9 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.3072, allocations: 43.67 kB / 465 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.3072, allocations: 12 kB / 465 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.3076, allocations: 27.92 kB / 465 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.545e-05/0.3077, allocations: 44.56 kB / 465.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.3077, allocations: 24 kB / 465.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.3079, allocations: 185.2 kB / 465.3 MB, free: 6.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3079, allocations: 4.062 kB / 465.3 MB, free: 6.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007905/0.3087, allocations: 227.3 kB / 465.5 MB, free: 6.035 MB / 366.1 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.0002839/0.309, allocations: 155 kB / 465.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.3101, allocations: 0.5692 MB / 466.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3101, allocations: 4 kB / 466.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.3106, allocations: 271.6 kB / 466.5 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.3112, allocations: 40.48 kB / 466.5 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.3134, allocations: 1.293 MB / 467.8 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.3139, allocations: 0.9044 MB / 468.7 MB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.3141, allocations: 63.42 kB / 468.8 MB, free: 2.668 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3141, allocations: 0 / 468.8 MB, free: 2.668 MB / 366.1 MB Notification: Performance of Templates: time 0.01208/0.3262, allocations: 7.579 MB / 476.4 MB, free: 11.09 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.397516469005495]