Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.001783/0.001783, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.002099/0.002099, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 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.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.87e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1426/0.1426, allocations: 24.52 MB / 296.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.1557, allocations: 7.105 MB / 303.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004686/0.1604, allocations: 312.7 kB / 304.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02421/0.1846, allocations: 12.9 MB / 317.2 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009008/0.1936, allocations: 2.683 MB / 319.8 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005076/0.1987, allocations: 2.044 MB / 321.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02686/0.2256, allocations: 19.11 MB / 341 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05953/0.2851, allocations: 28.18 MB / 369.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02964/0.3147, allocations: 15.12 MB / 384.3 MB, free: 1.727 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01982/0.3345, allocations: 9.754 MB / 394 MB, free: 7.953 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007928/0.3425, allocations: 2.918 MB / 397 MB, free: 5.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.3525, allocations: 3.195 MB / 400.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008157/0.3607, allocations: 5.576 MB / 405.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01454/0.3752, allocations: 7.237 MB / 413 MB, free: 5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3066/0.6818, allocations: 39.54 MB / 452.5 MB, free: 62.34 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.6818, allocations: 0.625 kB / 452.5 MB, free: 62.34 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6818, allocations: 0 / 452.5 MB, free: 62.34 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001147/0.683, allocations: 1.625 kB / 452.5 MB, free: 62.34 MB / 378.8 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.07131/0.7543, allocations: 22.07 MB / 474.6 MB, free: 51.64 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.7543, allocations: 11.69 kB / 474.6 MB, free: 51.64 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05243/0.8068, allocations: 10.67 MB / 485.3 MB, free: 46.54 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02584/0.8326, allocations: 12.41 MB / 497.7 MB, free: 34.64 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/0.8338, allocations: 1.344 MB / 499 MB, free: 33.3 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008349/0.8421, allocations: 1.761 MB / 0.489 GB, free: 31.55 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07203/0.9141, allocations: 29.01 MB / 0.5174 GB, free: 2.438 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006765/0.9148, allocations: 23.89 kB / 0.5174 GB, free: 2.414 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00753/0.9223, allocations: 0.7249 MB / 0.5181 GB, free: 1.699 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006969/0.923, allocations: 0.8415 MB / 0.5189 GB, free: 0.8555 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06291/0.9859, allocations: 24.76 MB / 0.5431 GB, free: 8.078 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3191/1.305, allocations: 78.47 MB / 0.6197 GB, free: 107.5 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/1.323, allocations: 12.82 MB / 0.6323 GB, free: 107.1 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007237/1.33, allocations: 5.052 MB / 0.6372 GB, free: 105.5 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004449/1.331, allocations: 179.8 kB / 0.6374 GB, free: 105.5 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/1.331, allocations: 94.39 kB / 0.6375 GB, free: 105.4 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 9.297e-06/1.331, allocations: 0 / 0.6375 GB, free: 105.4 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.03064/1.361, allocations: 14.88 MB / 0.652 GB, free: 98.29 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/1.361, allocations: 140.1 kB / 0.6521 GB, free: 98.18 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01162/1.373, allocations: 6.494 MB / 0.6585 GB, free: 93.32 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001044/1.374, allocations: 113.7 kB / 0.6586 GB, free: 93.2 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004505/1.378, allocations: 7.86 MB / 0.6663 GB, free: 85.34 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00254/1.381, allocations: 2.083 MB / 0.6683 GB, free: 83.28 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003845/1.385, allocations: 2.096 MB / 0.6703 GB, free: 81.18 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 4.317e-05/1.385, allocations: 301.1 kB / 0.6706 GB, free: 80.88 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009091/1.394, allocations: 4.744 MB / 0.6753 GB, free: 76.13 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01175/1.406, allocations: 9.504 MB / 0.6845 GB, free: 64.44 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02059/1.426, allocations: 15.33 MB / 0.6995 GB, free: 46.97 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/1.426, allocations: 48 kB / 0.6996 GB, free: 46.92 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02207/1.449, allocations: 15.92 MB / 0.7151 GB, free: 30.91 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.449, allocations: 72.56 kB / 0.7152 GB, free: 30.84 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002509/1.449, allocations: 164 kB / 0.7153 GB, free: 30.68 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00707/1.456, allocations: 1.979 MB / 0.7173 GB, free: 28.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007864/1.464, allocations: 2.359 MB / 0.7196 GB, free: 26.34 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/1.477, allocations: 11.34 MB / 0.7306 GB, free: 14.91 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007553/1.484, allocations: 1.35 MB / 0.732 GB, free: 13.55 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/1.486, allocations: 0.539 MB / 0.7325 GB, free: 13.01 MB / 442.8 MB 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.01226/1.498, allocations: 7.141 MB / 0.7395 GB, free: 5.852 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/1.5, allocations: 0.8161 MB / 0.7403 GB, free: 5.031 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1632/1.663, allocations: 10.07 MB / 0.7501 GB, free: 129.8 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01008/1.673, allocations: 7.777 MB / 0.7577 GB, free: 129.5 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.296e-05/1.673, allocations: 11.5 kB / 0.7577 GB, free: 129.5 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.125e-05/1.673, allocations: 27.61 kB / 0.7577 GB, free: 129.5 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03814/1.712, allocations: 21.79 MB / 0.779 GB, free: 121.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/1.712, allocations: 7.562 kB / 0.779 GB, free: 121.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003864/1.715, allocations: 1.015 MB / 0.78 GB, free: 121.6 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006703/1.722, allocations: 1.786 MB / 0.7817 GB, free: 121.3 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006677/1.723, allocations: 132.8 kB / 0.7819 GB, free: 121.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.735, allocations: 10.88 MB / 0.7925 GB, free: 113.2 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.735, allocations: 8 kB / 0.7925 GB, free: 113.2 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/1.752, allocations: 14.31 MB / 0.8065 GB, free: 100.8 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003025/1.755, allocations: 1.425 MB / 0.8079 GB, free: 99.41 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009759/1.756, allocations: 119.5 kB / 0.808 GB, free: 99.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002806/1.759, allocations: 309.6 kB / 0.8083 GB, free: 99 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008382/1.76, allocations: 428.2 kB / 0.8087 GB, free: 98.58 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003707/1.76, allocations: 175.9 kB / 0.8088 GB, free: 98.41 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.005587/1.766, allocations: 4.156 MB / 0.8129 GB, free: 94.28 MB / 442.8 MB Notification: Performance of sort global known variables: time 9e-08/1.766, allocations: 1.156 kB / 0.8129 GB, free: 94.28 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01272/1.779, allocations: 4.106 MB / 0.8169 GB, free: 90.16 MB / 442.8 MB 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.001009/1.78, allocations: 330.4 kB / 0.8172 GB, free: 89.85 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01394/1.794, allocations: 10.95 MB / 0.8279 GB, free: 78.86 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/1.794, allocations: 7.5 kB / 0.8279 GB, free: 78.85 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006118/1.8, allocations: 4.355 MB / 0.8322 GB, free: 74.48 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006902/1.807, allocations: 1.499 MB / 0.8337 GB, free: 73.07 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04746/1.854, allocations: 30.15 MB / 0.8631 GB, free: 42.62 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01886/1.873, allocations: 10.94 MB / 0.8738 GB, free: 31.62 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.008382/1.881, allocations: 3.851 MB / 0.8775 GB, free: 27.75 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.883, allocations: 0.5394 MB / 0.8781 GB, free: 27.21 MB / 442.8 MB Notification: Performance of SimCode: time 1.784e-06/1.883, allocations: 0 / 0.8781 GB, free: 27.21 MB / 442.8 MB Notification: Performance of Templates: time 0.3061/2.189, allocations: 90.83 MB / 0.9668 GB, free: 106.5 MB / 458.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.752397151081823]