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.001316/0.001316, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002368/0.002368, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 8.016 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+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 0.001596/0.001596, allocations: 51.92 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2253, allocations: 53.36 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007317/0.2326, allocations: 5.663 MB / 438.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003542/0.2362, allocations: 1.896 MB / 440 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005788/0.2368, allocations: 27.94 kB / 440 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.2405, allocations: 1.621 MB / 441.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.2422, allocations: 0.6053 MB / 442.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009972/0.2432, allocations: 414.9 kB / 442.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2444, allocations: 0.7978 MB / 443.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.2457, allocations: 0.7663 MB / 444.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005503/0.2462, allocations: 358.7 kB / 444.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006883/0.2469, allocations: 0.4903 MB / 445 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.2471, allocations: 76 kB / 445.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.2476, allocations: 239.9 kB / 445.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.2477, allocations: 187.3 kB / 445.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003763/0.2481, allocations: 429.9 kB / 445.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.2495, allocations: 1.18 MB / 447.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2495, allocations: 0 / 447.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2495, allocations: 0 / 447.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.2496, allocations: 0 / 447.1 MB, free: 8.125 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.003205/0.2528, allocations: 1.293 MB / 448.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2528, allocations: 8.031 kB / 448.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004489/0.2573, allocations: 0.6247 MB / 449 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007329/0.258, allocations: 368.1 kB / 449.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.2581, allocations: 74.31 kB / 449.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.2583, allocations: 96.38 kB / 449.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.26, allocations: 0.9863 MB / 450.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.2601, allocations: 3.984 kB / 450.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/0.2601, allocations: 40 kB / 450.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.2602, allocations: 24 kB / 450.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.2618, allocations: 0.933 MB / 451.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/0.2666, allocations: 3.17 MB / 454.7 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.2684, allocations: 0.7595 MB / 455.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.2688, allocations: 254.1 kB / 455.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.2689, allocations: 28.53 kB / 455.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.269, allocations: 47.16 kB / 455.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.083e-06/0.269, allocations: 0 / 455.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001428/0.2704, allocations: 0.7279 MB / 456.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.2705, allocations: 111.5 kB / 456.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.2708, allocations: 277.7 kB / 456.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.2708, allocations: 37.7 kB / 456.9 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.2711, allocations: 396.1 kB / 457.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.2713, allocations: 238 kB / 457.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.2715, allocations: 138.6 kB / 457.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2716, allocations: 346.8 kB / 458 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.272, allocations: 221.9 kB / 458.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005853/0.2726, allocations: 436.1 kB / 458.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.2737, allocations: 0.6969 MB / 459.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.2737, allocations: 4 kB / 459.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001352/0.275, allocations: 0.7625 MB / 460.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.2751, allocations: 14.44 kB / 460.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.2751, allocations: 8 kB / 460.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.2751, allocations: 8 kB / 460.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.2759, allocations: 187.7 kB / 460.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.2759, allocations: 20.27 kB / 460.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.2763, allocations: 83.41 kB / 460.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.2764, allocations: 35.98 kB / 460.5 MB, free: 10.24 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.0002993/0.2767, allocations: 225.6 kB / 460.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.2768, allocations: 39.7 kB / 460.7 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.278, allocations: 0.654 MB / 461.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.278, allocations: 8 kB / 461.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.278, allocations: 0 / 461.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.278, allocations: 3.984 kB / 461.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.2805, allocations: 1.459 MB / 462.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2805, allocations: 0 / 462.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.2811, allocations: 139.9 kB / 463 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.2811, allocations: 4 kB / 463 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.2811, allocations: 19.92 kB / 463 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.2811, allocations: 7.938 kB / 463 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2811, allocations: 7.938 kB / 463 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.2828, allocations: 1.12 MB / 464.2 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/0.2829, allocations: 47.66 kB / 464.2 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.2829, allocations: 16 kB / 464.2 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.2833, allocations: 23.92 kB / 464.3 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.2834, allocations: 44.56 kB / 464.3 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.2834, allocations: 20 kB / 464.3 MB, free: 6.328 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.2836, allocations: 185.3 kB / 464.5 MB, free: 6.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2836, allocations: 0 / 464.5 MB, free: 6.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007423/0.2844, allocations: 235.3 kB / 464.7 MB, free: 5.918 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.0002411/0.2846, allocations: 155 kB / 464.9 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.2857, allocations: 0.5726 MB / 465.5 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2857, allocations: 0 / 465.5 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.2862, allocations: 267.6 kB / 465.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.2867, allocations: 48.48 kB / 465.8 MB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.2889, allocations: 1.293 MB / 467.1 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.2894, allocations: 0.9006 MB / 468 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.2896, allocations: 59.42 kB / 468 MB, free: 2.555 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2896, allocations: 0 / 468 MB, free: 2.555 MB / 366.1 MB Notification: Performance of Templates: time 0.01199/0.3016, allocations: 7.575 MB / 475.6 MB, free: 10.98 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 6.933549715904519]