Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 43.94 kB / 371.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.222, allocations: 52.19 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00702/0.229, allocations: 5.007 MB / 428.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003579/0.2326, allocations: 1.705 MB / 430.5 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.2329, allocations: 20 kB / 430.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003687/0.2366, allocations: 1.492 MB / 432 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.2384, allocations: 0.725 MB / 432.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.2391, allocations: 283.1 kB / 433 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009503/0.2401, allocations: 0.8055 MB / 433.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.2413, allocations: 0.7353 MB / 434.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.2417, allocations: 366.7 kB / 434.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005624/0.2423, allocations: 430.2 kB / 435.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.2424, allocations: 80 kB / 435.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.2429, allocations: 227.8 kB / 435.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.2431, allocations: 187.3 kB / 435.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.2434, allocations: 342.4 kB / 436.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.2448, allocations: 1.178 MB / 437.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2448, allocations: 0 / 437.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2448, allocations: 4 kB / 437.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.2448, allocations: 3.938 kB / 437.4 MB, free: 0.8867 MB / 334.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.003305/0.2481, allocations: 1.289 MB / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2482, allocations: 12.03 kB / 438.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/0.2528, allocations: 0.6482 MB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.2535, allocations: 361.3 kB / 439.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/0.2536, allocations: 74.38 kB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.2538, allocations: 100.3 kB / 439.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.2556, allocations: 1.015 MB / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.2556, allocations: 0 / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/0.2557, allocations: 40 kB / 440.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.2557, allocations: 24 kB / 440.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.2574, allocations: 0.9058 MB / 441.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.2621, allocations: 2.78 MB / 444.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.264, allocations: 0.7521 MB / 445.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004532/0.2645, allocations: 256.4 kB / 445.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.335e-05/0.2646, allocations: 16.64 kB / 445.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.2646, allocations: 43.22 kB / 445.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.695e-06/0.2646, allocations: 0 / 445.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001476/0.2661, allocations: 0.7202 MB / 446.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.2662, allocations: 115.4 kB / 446.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.2665, allocations: 268.9 kB / 446.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.2665, allocations: 37.7 kB / 446.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.2668, allocations: 399.9 kB / 447.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.267, allocations: 234 kB / 447.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.2672, allocations: 134.6 kB / 447.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.2674, allocations: 346.8 kB / 447.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.2678, allocations: 221.9 kB / 448.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.2685, allocations: 431.4 kB / 448.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.2696, allocations: 0.7008 MB / 449.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2696, allocations: 0 / 449.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001357/0.2709, allocations: 0.7504 MB / 450 MB, free: 3.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.271, allocations: 8.875 kB / 450 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.271, allocations: 8 kB / 450 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.271, allocations: 15.94 kB / 450 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007128/0.2717, allocations: 187.7 kB / 450.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.2717, allocations: 11.98 kB / 450.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.2721, allocations: 79.47 kB / 450.3 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.2722, allocations: 35.98 kB / 450.3 MB, free: 3.438 MB / 350.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.0003038/0.2725, allocations: 221.5 kB / 450.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.2726, allocations: 39.77 kB / 450.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.2738, allocations: 0.65 MB / 451.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.2739, allocations: 12 kB / 451.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2739, allocations: 0 / 451.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.2739, allocations: 3.984 kB / 451.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.2762, allocations: 1.257 MB / 452.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2762, allocations: 0 / 452.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.2768, allocations: 135.8 kB / 452.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.2768, allocations: 8 kB / 452.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.2768, allocations: 19.98 kB / 452.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2768, allocations: 4 kB / 452.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2768, allocations: 0 / 452.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.2786, allocations: 1.124 MB / 453.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.2786, allocations: 47.61 kB / 453.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.2787, allocations: 12 kB / 453.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.279, allocations: 31.98 kB / 453.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/0.2791, allocations: 52.5 kB / 453.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.2792, allocations: 20 kB / 453.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.2794, allocations: 172.5 kB / 454.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2794, allocations: 0 / 454.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007734/0.2801, allocations: 227.3 kB / 454.3 MB, free: 15.35 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.0002414/0.2804, allocations: 143 kB / 454.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.2815, allocations: 0.572 MB / 455 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2815, allocations: 0 / 455 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.282, allocations: 271.6 kB / 455.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.2825, allocations: 37.81 kB / 455.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.2846, allocations: 1.304 MB / 456.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.285, allocations: 303.8 kB / 456.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.2852, allocations: 55.42 kB / 457 MB, free: 12.6 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2852, allocations: 0 / 457 MB, free: 12.6 MB / 366.1 MB Notification: Performance of Templates: time 0.01198/0.2972, allocations: 7.529 MB / 464.5 MB, free: 5.066 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.929592728149146]