Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.002029/0.002029, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001403/0.001403, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.403/1.403, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [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.001967/0.001967, allocations: 67.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2139, allocations: 53.31 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.0316/0.2455, allocations: 28.77 MB / 460.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.26, allocations: 7.224 MB / 468 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004163/0.2641, allocations: 263.2 kB / 468.3 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02947/0.2936, allocations: 13.23 MB / 481.5 MB, free: 5.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009395/0.303, allocations: 2.555 MB / 484.1 MB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005918/0.3089, allocations: 2.051 MB / 486.1 MB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02196/0.3309, allocations: 18.35 MB / 0.4927 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0487/0.3796, allocations: 26.94 MB / 0.519 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01369/0.3933, allocations: 9.969 MB / 0.5287 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3643/0.7576, allocations: 11.13 MB / 0.5396 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006192/0.7638, allocations: 2.92 MB / 0.5424 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008022/0.7718, allocations: 3.201 MB / 0.5456 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006343/0.7781, allocations: 5.488 MB / 0.5509 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01293/0.7911, allocations: 10.82 MB / 0.5615 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02578/0.8168, allocations: 39.1 MB / 0.5997 GB, free: 5.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.8169, allocations: 7.984 kB / 0.5997 GB, free: 5.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.8169, allocations: 3.469 kB / 0.5997 GB, free: 5.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007103/0.8176, allocations: 0 / 0.5997 GB, free: 5.582 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05549/0.8731, allocations: 22.31 MB / 0.6215 GB, free: 3.664 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.8731, allocations: 8.875 kB / 0.6215 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0467/0.9198, allocations: 8.237 MB / 0.6295 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02684/0.9466, allocations: 11.68 MB / 0.6409 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001323/0.948, allocations: 1.336 MB / 0.6422 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005084/0.953, allocations: 1.764 MB / 0.6439 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06251/1.016, allocations: 28.76 MB / 0.672 GB, free: 368 kB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004917/1.016, allocations: 15.91 kB / 0.672 GB, free: 352 kB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003536/1.02, allocations: 0.7324 MB / 0.6728 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008777/1.02, allocations: 0.849 MB / 0.6736 GB, free: 14.79 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04668/1.067, allocations: 24.83 MB / 0.6978 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3333/1.4, allocations: 87.5 MB / 0.7833 GB, free: 147.7 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02066/1.421, allocations: 34.6 MB / 0.8171 GB, free: 120.2 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006756/1.428, allocations: 5.051 MB / 0.822 GB, free: 120.1 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003665/1.428, allocations: 326.4 kB / 0.8223 GB, free: 119.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/1.428, allocations: 104.5 kB / 0.8224 GB, free: 119.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 8.045e-06/1.428, allocations: 0 / 0.8224 GB, free: 119.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.02795/1.456, allocations: 14.77 MB / 0.8368 GB, free: 117.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/1.456, allocations: 136.5 kB / 0.837 GB, free: 117.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007567/1.464, allocations: 6.426 MB / 0.8433 GB, free: 114.9 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006859/1.465, allocations: 120.1 kB / 0.8434 GB, free: 114.8 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003023/1.468, allocations: 7.906 MB / 0.8511 GB, free: 107.9 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001492/1.469, allocations: 2.106 MB / 0.8531 GB, free: 106.1 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002356/1.471, allocations: 2.112 MB / 0.8552 GB, free: 104.9 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.339e-05/1.471, allocations: 301.1 kB / 0.8555 GB, free: 104.6 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005136/1.477, allocations: 4.749 MB / 0.8601 GB, free: 102.1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006427/1.483, allocations: 9.471 MB / 0.8694 GB, free: 93.05 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/1.496, allocations: 15.33 MB / 0.8844 GB, free: 76.64 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-05/1.496, allocations: 44 kB / 0.8844 GB, free: 76.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01802/1.514, allocations: 15.41 MB / 0.8994 GB, free: 61.11 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/1.514, allocations: 76 kB / 0.8995 GB, free: 61.04 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/1.514, allocations: 160.6 kB / 0.8997 GB, free: 60.88 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004645/1.518, allocations: 1.66 MB / 0.9013 GB, free: 59.21 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006666/1.525, allocations: 2.367 MB / 0.9036 GB, free: 56.84 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/1.537, allocations: 11.61 MB / 0.9149 GB, free: 45.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007197/1.545, allocations: 1.374 MB / 0.9163 GB, free: 43.72 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.546, allocations: 0.5351 MB / 0.9168 GB, free: 43.18 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008271/1.554, allocations: 7.143 MB / 0.9238 GB, free: 36.02 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009484/1.555, allocations: 0.6481 MB / 0.9244 GB, free: 35.37 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.567, allocations: 10.07 MB / 0.9342 GB, free: 25.19 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-05/1.567, allocations: 27.89 kB / 0.9343 GB, free: 25.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.567, allocations: 4 kB / 0.9343 GB, free: 25.16 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002822/1.57, allocations: 1.487 MB / 0.9357 GB, free: 23.65 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007389/1.571, allocations: 99.95 kB / 0.9358 GB, free: 23.55 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/1.573, allocations: 315.5 kB / 0.9361 GB, free: 23.25 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005332/1.574, allocations: 400.1 kB / 0.9365 GB, free: 22.85 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01194/1.586, allocations: 9.079 MB / 0.9454 GB, free: 13.8 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01201/1.598, allocations: 12.08 MB / 0.9572 GB, free: 1.59 MB / 0.5763 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004161/1.602, allocations: 3.523 MB / 0.9606 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006475/1.609, allocations: 4.301 MB / 0.9648 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of Backend: time 1.71e-07/1.609, allocations: 0 / 0.9648 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01442/1.623, allocations: 8.059 MB / 0.9727 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of SimCode: time 0.2191/1.842, allocations: 28.67 MB / 1.001 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1573/1.999, allocations: 114.9 MB / 1.113 GB, free: 113.2 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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: 9.074121444951743]