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.005888/0.005888, allocations: 110.3 kB / 21.98 MB, free: 5.18 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.001487/0.001487, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.496/1.496, allocations: 230.6 MB / 259 MB, free: 8.031 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.001972/0.001972, allocations: 67.89 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2225, allocations: 53.36 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03283/0.2554, allocations: 28.77 MB / 461.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01634/0.2717, allocations: 7.216 MB / 469.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005475/0.2772, allocations: 318.3 kB / 469.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03077/0.3079, allocations: 13.26 MB / 482.7 MB, free: 5.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009904/0.3178, allocations: 2.637 MB / 485.4 MB, free: 2.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00671/0.3246, allocations: 2.104 MB / 487.5 MB, free: 496 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02403/0.3486, allocations: 18.54 MB / 0.4942 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05709/0.4057, allocations: 28.39 MB / 0.5219 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01667/0.4223, allocations: 10.15 MB / 0.5318 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4167/0.839, allocations: 11.14 MB / 0.5427 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007296/0.8463, allocations: 2.919 MB / 0.5455 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009732/0.856, allocations: 3.203 MB / 0.5486 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008131/0.8642, allocations: 5.488 MB / 0.554 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01823/0.8824, allocations: 10.82 MB / 0.5646 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03415/0.9166, allocations: 39.11 MB / 0.6028 GB, free: 5.445 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.9166, allocations: 2.844 kB / 0.6028 GB, free: 5.445 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.9166, allocations: 3.531 kB / 0.6028 GB, free: 5.445 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001036/0.9176, allocations: 0 / 0.6028 GB, free: 5.445 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.08927/1.007, allocations: 22.24 MB / 0.6245 GB, free: 2.156 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.007, allocations: 8.031 kB / 0.6245 GB, free: 2.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04616/1.053, allocations: 8.24 MB / 0.6325 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03553/1.089, allocations: 11.89 MB / 0.6441 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002186/1.091, allocations: 1.34 MB / 0.6455 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008776/1.1, allocations: 1.756 MB / 0.6472 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07606/1.176, allocations: 28.76 MB / 0.6753 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007213/1.176, allocations: 19.91 kB / 0.6753 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005947/1.182, allocations: 0.7302 MB / 0.676 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001029/1.183, allocations: 0.8453 MB / 0.6768 GB, free: 13.03 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0558/1.239, allocations: 24.83 MB / 0.7011 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4311/1.67, allocations: 86 MB / 0.785 GB, free: 148 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/1.688, allocations: 12.87 MB / 0.7976 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007385/1.695, allocations: 5.037 MB / 0.8025 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/1.696, allocations: 178.4 kB / 0.8027 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/1.696, allocations: 90.55 kB / 0.8028 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 7.464e-06/1.696, allocations: 0 / 0.8028 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03101/1.727, allocations: 14.69 MB / 0.8171 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/1.727, allocations: 148.3 kB / 0.8173 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00841/1.736, allocations: 6.425 MB / 0.8236 GB, free: 141.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/1.737, allocations: 123.5 kB / 0.8237 GB, free: 141.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004142/1.741, allocations: 7.902 MB / 0.8314 GB, free: 134.4 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00217/1.743, allocations: 2.101 MB / 0.8334 GB, free: 132.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002982/1.746, allocations: 2.121 MB / 0.8355 GB, free: 131.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.417e-05/1.746, allocations: 301.1 kB / 0.8358 GB, free: 131.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005857/1.752, allocations: 4.743 MB / 0.8404 GB, free: 128.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/1.762, allocations: 9.471 MB / 0.8497 GB, free: 119.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01726/1.78, allocations: 15.33 MB / 0.8647 GB, free: 103.9 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002155/1.78, allocations: 52 kB / 0.8647 GB, free: 103.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02739/1.807, allocations: 15.41 MB / 0.8797 GB, free: 88.37 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/1.807, allocations: 72 kB / 0.8798 GB, free: 88.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000235/1.808, allocations: 160 kB / 0.88 GB, free: 88.14 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00649/1.814, allocations: 1.657 MB / 0.8816 GB, free: 86.48 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01239/1.827, allocations: 2.363 MB / 0.8839 GB, free: 84.12 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/1.841, allocations: 11.52 MB / 0.8951 GB, free: 72.49 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009269/1.85, allocations: 1.374 MB / 0.8965 GB, free: 71.11 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001792/1.852, allocations: 0.5321 MB / 0.897 GB, free: 70.58 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.01092/1.863, allocations: 7.15 MB / 0.904 GB, free: 63.41 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/1.864, allocations: 0.6481 MB / 0.9046 GB, free: 62.76 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/1.877, allocations: 10.07 MB / 0.9145 GB, free: 52.57 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009876/1.887, allocations: 7.773 MB / 0.922 GB, free: 44.72 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.308e-05/1.887, allocations: 15.94 kB / 0.9221 GB, free: 44.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.296e-05/1.887, allocations: 31.89 kB / 0.9221 GB, free: 44.67 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04165/1.929, allocations: 25.35 MB / 0.9469 GB, free: 19.19 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/1.929, allocations: 11.98 kB / 0.9469 GB, free: 19.18 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003784/1.933, allocations: 1.014 MB / 0.9479 GB, free: 18.16 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004724/1.937, allocations: 1.462 MB / 0.9493 GB, free: 16.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007628/1.938, allocations: 136 kB / 0.9494 GB, free: 16.56 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.95, allocations: 11.06 MB / 0.9602 GB, free: 5.395 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.95, allocations: 15.88 kB / 0.9602 GB, free: 5.379 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02222/1.972, allocations: 14.14 MB / 0.974 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004344/1.977, allocations: 1.455 MB / 0.9755 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001405/1.978, allocations: 108 kB / 0.9756 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003249/1.981, allocations: 315.6 kB / 0.9759 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008898/1.982, allocations: 432.2 kB / 0.9763 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000393/1.983, allocations: 172 kB / 0.9764 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007861/1.991, allocations: 4.313 MB / 0.9807 GB, free: 144 kB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.991, allocations: 0 / 0.9807 GB, free: 144 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.2518/2.242, allocations: 4.081 MB / 0.9846 GB, free: 187.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_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 (528): * Single equations (assignments): 525 * 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 Backend phase and start with SimCode phase: time 0.001467/2.244, allocations: 319.3 kB / 0.9849 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01912/2.263, allocations: 10.95 MB / 0.9956 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/2.263, allocations: 0 / 0.9956 GB, free: 186.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007443/2.27, allocations: 4.348 MB / 0.9999 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007678/2.278, allocations: 1.561 MB / 1.001 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05052/2.329, allocations: 29.24 MB / 1.03 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01591/2.345, allocations: 10.89 MB / 1.041 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/2.347, allocations: 0.6223 MB / 1.041 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of SimCode: time 8.51e-07/2.347, allocations: 0 / 1.041 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.5722/2.919, allocations: 285.7 MB / 1.32 GB, free: 97.08 MB / 0.5919 GB " [Timeout remaining time 657] 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 23.218676562886685]