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.001831/0.001831, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002298/0.002298, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.563/1.563, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001569/0.001569, allocations: 51.92 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2229, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007291/0.2302, allocations: 5.677 MB / 437.3 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003525/0.2337, allocations: 1.9 MB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.2342, allocations: 16 kB / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003775/0.238, allocations: 1.625 MB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.2399, allocations: 0.6022 MB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2409, allocations: 406.8 kB / 441.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.2421, allocations: 0.8017 MB / 442.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.2433, allocations: 0.7587 MB / 443.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005107/0.2438, allocations: 362.7 kB / 443.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.2444, allocations: 0.4942 MB / 444.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.2445, allocations: 80 kB / 444.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005063/0.245, allocations: 235.9 kB / 444.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.2452, allocations: 191.3 kB / 444.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003899/0.2456, allocations: 421.9 kB / 445.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.247, allocations: 1.177 MB / 446.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.247, allocations: 0 / 446.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.247, allocations: 0 / 446.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.247, allocations: 0 / 446.3 MB, free: 8.148 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.003284/0.2503, allocations: 1.3 MB / 447.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2503, allocations: 12.03 kB / 447.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004602/0.2549, allocations: 0.617 MB / 448.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.2555, allocations: 365.3 kB / 448.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/0.2556, allocations: 74.38 kB / 448.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.2558, allocations: 92.38 kB / 448.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.2574, allocations: 0.994 MB / 449.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.2575, allocations: 4 kB / 449.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.248e-05/0.2576, allocations: 40 kB / 449.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.2576, allocations: 27.98 kB / 449.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.2593, allocations: 0.933 MB / 450.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.2639, allocations: 3.162 MB / 453.9 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.2658, allocations: 0.7662 MB / 454.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004394/0.2662, allocations: 255 kB / 455 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.972e-05/0.2663, allocations: 32.61 kB / 455 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.2664, allocations: 47.22 kB / 455 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.094e-06/0.2664, allocations: 0 / 455 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.001453/0.2678, allocations: 0.7318 MB / 455.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.2679, allocations: 107.5 kB / 455.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.2682, allocations: 274 kB / 456.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.2682, allocations: 37.7 kB / 456.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.2685, allocations: 391.9 kB / 456.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.2687, allocations: 234 kB / 456.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.2689, allocations: 146.5 kB / 456.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.269, allocations: 346.8 kB / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.2695, allocations: 221.9 kB / 457.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/0.2701, allocations: 440.1 kB / 457.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.2711, allocations: 0.6969 MB / 458.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.2711, allocations: 4 kB / 458.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0013/0.2724, allocations: 0.7621 MB / 459.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2725, allocations: 7.938 kB / 459.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.2725, allocations: 8.781 kB / 459.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.2725, allocations: 12 kB / 459.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.2732, allocations: 187.7 kB / 459.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.2732, allocations: 19.92 kB / 459.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.2736, allocations: 79.41 kB / 459.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.2737, allocations: 39.98 kB / 459.7 MB, free: 10.25 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.0002697/0.2739, allocations: 221.6 kB / 459.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.274, allocations: 43.7 kB / 460 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.2753, allocations: 0.6462 MB / 460.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.2753, allocations: 11.98 kB / 460.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2753, allocations: 0 / 460.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.2753, allocations: 4 kB / 460.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.2777, allocations: 1.451 MB / 462.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2777, allocations: 0 / 462.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/0.2783, allocations: 151.8 kB / 462.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2783, allocations: 0 / 462.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.2783, allocations: 19.98 kB / 462.3 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.393e-06/0.2783, allocations: 7.938 kB / 462.3 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2783, allocations: 3.938 kB / 462.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.28, allocations: 1.127 MB / 463.4 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.2801, allocations: 43.62 kB / 463.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.2801, allocations: 12 kB / 463.5 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.2805, allocations: 31.98 kB / 463.5 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.2806, allocations: 44.58 kB / 463.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.2806, allocations: 23.92 kB / 463.6 MB, free: 6.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.2808, allocations: 181.2 kB / 463.7 MB, free: 6.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2808, allocations: 4 kB / 463.7 MB, free: 6.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007427/0.2815, allocations: 227.3 kB / 464 MB, free: 5.934 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.0002552/0.2818, allocations: 155 kB / 464.1 MB, free: 5.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.2829, allocations: 0.5716 MB / 464.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2829, allocations: 0 / 464.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.2834, allocations: 273.2 kB / 464.9 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.2839, allocations: 47.36 kB / 465 MB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.2859, allocations: 1.264 MB / 466.3 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/0.2865, allocations: 0.9006 MB / 467.2 MB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.2867, allocations: 80.39 kB / 467.2 MB, free: 2.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.2869, allocations: 51.42 kB / 467.3 MB, free: 2.535 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2869, allocations: 0 / 467.3 MB, free: 2.535 MB / 366.1 MB Notification: Performance of Templates: time 0.01131/0.2982, allocations: 5.396 MB / 472.7 MB, free: 13.14 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/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: 4.749476800905541]