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.001698/0.001698, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001669/0.001669, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001517/0.001517, allocations: 39.94 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2029, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.006709/0.2096, allocations: 5.013 MB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.2127, allocations: 1.771 MB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.213, allocations: 20 kB / 439.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003495/0.2165, allocations: 1.493 MB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.2179, allocations: 0.5856 MB / 441.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008334/0.2187, allocations: 394.9 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008383/0.2195, allocations: 0.7939 MB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.2206, allocations: 0.7665 MB / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.2211, allocations: 366.7 kB / 443.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.2216, allocations: 498.1 kB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.2217, allocations: 76 kB / 444.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.2222, allocations: 243.8 kB / 444.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.2223, allocations: 187.4 kB / 444.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.2226, allocations: 338.4 kB / 444.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.2239, allocations: 1.189 MB / 446 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.2239, allocations: 0 / 446 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2239, allocations: 0 / 446 MB, free: 8.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.224, allocations: 0 / 446 MB, free: 8.996 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.003274/0.2272, allocations: 1.293 MB / 447.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2273, allocations: 12.03 kB / 447.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.232, allocations: 0.6169 MB / 447.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006665/0.2327, allocations: 365.3 kB / 448.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.2327, allocations: 74.38 kB / 448.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.2329, allocations: 92.38 kB / 448.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.2347, allocations: 1.015 MB / 449.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.2347, allocations: 7.938 kB / 449.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/0.2348, allocations: 43.94 kB / 449.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.2349, allocations: 27.94 kB / 449.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.2366, allocations: 0.9175 MB / 450.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/0.2411, allocations: 2.792 MB / 453.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.243, allocations: 0.7477 MB / 454 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.2434, allocations: 250.5 kB / 454.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.381e-05/0.2435, allocations: 32.55 kB / 454.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.2435, allocations: 43.22 kB / 454.3 MB, free: 452 kB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.2435, allocations: 0 / 454.3 MB, free: 452 kB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.001466/0.245, allocations: 0.7282 MB / 455.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.2451, allocations: 111.5 kB / 455.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.2453, allocations: 268.6 kB / 455.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.2454, allocations: 33.7 kB / 455.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.2456, allocations: 395.9 kB / 455.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.2458, allocations: 234 kB / 456.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.2461, allocations: 142.6 kB / 456.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2462, allocations: 346.8 kB / 456.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.2467, allocations: 226 kB / 456.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.2473, allocations: 436.1 kB / 457.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.2484, allocations: 0.6969 MB / 457.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.2484, allocations: 4 kB / 457.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001343/0.2497, allocations: 0.7511 MB / 458.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2497, allocations: 8 kB / 458.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2497, allocations: 11.94 kB / 458.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.2498, allocations: 11.94 kB / 458.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.2505, allocations: 195.7 kB / 458.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.2505, allocations: 12 kB / 458.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.2509, allocations: 83.38 kB / 459 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.251, allocations: 36.16 kB / 459 MB, free: 11.51 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.0002651/0.2513, allocations: 221.6 kB / 459.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.2514, allocations: 39.75 kB / 459.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.2527, allocations: 0.6539 MB / 459.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2527, allocations: 8 kB / 459.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2527, allocations: 0 / 459.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.2527, allocations: 3.984 kB / 459.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.2549, allocations: 1.268 MB / 461.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2549, allocations: 0 / 461.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006268/0.2555, allocations: 139.8 kB / 461.3 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.2555, allocations: 4 kB / 461.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.2556, allocations: 12 kB / 461.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.2556, allocations: 7.984 kB / 461.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2556, allocations: 4 kB / 461.4 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.2573, allocations: 1.127 MB / 462.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.2574, allocations: 43.67 kB / 462.5 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.2574, allocations: 15.98 kB / 462.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.2578, allocations: 20 kB / 462.6 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.2579, allocations: 48.5 kB / 462.6 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.258, allocations: 23.98 kB / 462.6 MB, free: 7.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.2581, allocations: 172.5 kB / 462.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2581, allocations: 0 / 462.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007323/0.2589, allocations: 231.3 kB / 463 MB, free: 7.418 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.0002468/0.2591, allocations: 155 kB / 463.2 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.2602, allocations: 0.5729 MB / 463.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2602, allocations: 0 / 463.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/0.2607, allocations: 271.6 kB / 464 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.2612, allocations: 40.42 kB / 464.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.2632, allocations: 1.26 MB / 465.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.2636, allocations: 311.7 kB / 465.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.2639, allocations: 76.34 kB / 465.7 MB, free: 4.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.264, allocations: 55.42 kB / 465.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.264, allocations: 0 / 465.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of Templates: time 0.01131/0.2753, allocations: 5.385 MB / 471.1 MB, free: 15.27 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 -s gbode -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: 4.532060473997262]