Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.002088/0.002088, allocations: 96.3 kB / 21.73 MB, free: 2.707 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.002314/0.002314, allocations: 164.5 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.679e-05, allocations: 6.109 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03562/0.03565, allocations: 25.3 MB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.05469, allocations: 7.355 MB / 283 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007337/0.06203, allocations: 262.6 kB / 283.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03375/0.09578, allocations: 12.97 MB / 296.3 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0133/0.1091, allocations: 3.032 MB / 299.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007869/0.117, allocations: 2.101 MB / 301.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.03059/0.1476, allocations: 19.78 MB / 321.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0642/0.2117, allocations: 28.4 MB / 349.6 MB, free: 4.094 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2905/0.5023, allocations: 15.6 MB / 365.2 MB, free: 36.86 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01921/0.5215, allocations: 10.24 MB / 375.4 MB, free: 36.86 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01054/0.532, allocations: 2.971 MB / 378.4 MB, free: 36.86 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.5431, allocations: 3.245 MB / 381.6 MB, free: 36.86 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01114/0.5542, allocations: 5.877 MB / 387.5 MB, free: 36.86 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01913/0.5733, allocations: 7.502 MB / 395 MB, free: 34.13 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0599/0.6332, allocations: 40.2 MB / 435.2 MB, free: 13.65 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.6333, allocations: 4.812 kB / 435.2 MB, free: 13.64 MB / 346.8 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6333, allocations: 0 / 435.2 MB, free: 13.64 MB / 346.8 MB Notification: Performance of Transformations before backend: time 0.001208/0.6345, allocations: 0.8125 kB / 435.2 MB, free: 13.64 MB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.08291/0.7174, allocations: 23.01 MB / 458.2 MB, free: 6.723 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.7174, allocations: 11.98 kB / 458.2 MB, free: 6.711 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1208/0.8382, allocations: 15.33 MB / 473.6 MB, free: 7.512 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0327/0.8709, allocations: 11.07 MB / 484.6 MB, free: 12.89 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002057/0.8729, allocations: 1.405 MB / 486 MB, free: 11.5 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007745/0.8807, allocations: 1.837 MB / 487.9 MB, free: 9.676 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3224/1.203, allocations: 31.09 MB / 0.5068 GB, free: 108.7 MB / 394.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009643/1.204, allocations: 24.53 kB / 0.5068 GB, free: 108.7 MB / 394.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006367/1.21, allocations: 0.7577 MB / 0.5076 GB, free: 108.1 MB / 394.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009654/1.211, allocations: 0.9721 MB / 0.5085 GB, free: 108.1 MB / 394.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05069/1.262, allocations: 27.76 MB / 0.5356 GB, free: 85.32 MB / 394.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1297/1.392, allocations: 83.13 MB / 0.6168 GB, free: 2.164 MB / 394.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03001/1.422, allocations: 16.96 MB / 0.6334 GB, free: 5.07 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01194/1.434, allocations: 5.547 MB / 0.6388 GB, free: 15.51 MB / 426.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03532/1.469, allocations: 13.99 MB / 0.6524 GB, free: 1.859 MB / 426.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/1.469, allocations: 77.91 kB / 0.6525 GB, free: 1.773 MB / 426.9 MB Notification: Performance of pre-optimization done (n=427): time 7.805e-06/1.469, allocations: 7.875 kB / 0.6525 GB, free: 1.766 MB / 426.9 MB Notification: Performance of matching and sorting (n=427): time 0.2295/1.699, allocations: 13.27 MB / 0.6655 GB, free: 133.5 MB / 426.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/1.699, allocations: 122.5 kB / 0.6656 GB, free: 133.4 MB / 426.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/1.712, allocations: 7.637 MB / 0.6731 GB, free: 131.1 MB / 426.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0007168/1.713, allocations: 97.42 kB / 0.6731 GB, free: 131 MB / 426.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.004808/1.717, allocations: 8.831 MB / 0.6818 GB, free: 126.1 MB / 426.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/1.719, allocations: 1.612 MB / 0.6833 GB, free: 124.9 MB / 426.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005497/1.725, allocations: 2.259 MB / 0.6856 GB, free: 123.8 MB / 426.9 MB Notification: Performance of setup shared object (initialization): time 4.882e-05/1.725, allocations: 309 kB / 0.6858 GB, free: 123.5 MB / 426.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006832/1.732, allocations: 4.703 MB / 0.6904 GB, free: 121.8 MB / 426.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009501/1.741, allocations: 10.42 MB / 0.7006 GB, free: 112.5 MB / 426.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/1.757, allocations: 15.99 MB / 0.7162 GB, free: 98.31 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000189/1.757, allocations: 56.62 kB / 0.7163 GB, free: 98.26 MB / 426.9 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.02523/1.782, allocations: 16.56 MB / 0.7325 GB, free: 83.71 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002012/1.782, allocations: 88 kB / 0.7325 GB, free: 83.62 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002856/1.782, allocations: 200 kB / 0.7327 GB, free: 83.43 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008119/1.791, allocations: 2.024 MB / 0.7347 GB, free: 81.88 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01276/1.803, allocations: 2.495 MB / 0.7371 GB, free: 79.67 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/1.819, allocations: 11.26 MB / 0.7481 GB, free: 68.32 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009073/1.828, allocations: 1.572 MB / 0.7497 GB, free: 66.74 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001952/1.83, allocations: 0.6015 MB / 0.7503 GB, free: 66.14 MB / 426.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * 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.01104/1.841, allocations: 7.398 MB / 0.7575 GB, free: 58.72 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001708/1.842, allocations: 0.7692 MB / 0.7582 GB, free: 57.95 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.855, allocations: 8.052 MB / 0.7661 GB, free: 49.88 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008321/1.863, allocations: 6.445 MB / 0.7724 GB, free: 43.42 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/1.863, allocations: 12 kB / 0.7724 GB, free: 43.41 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.872e-05/1.863, allocations: 19.92 kB / 0.7724 GB, free: 43.39 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03154/1.895, allocations: 17.3 MB / 0.7893 GB, free: 26.13 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/1.895, allocations: 7.922 kB / 0.7893 GB, free: 26.12 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003057/1.898, allocations: 0.7684 MB / 0.7901 GB, free: 25.35 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006506/1.904, allocations: 1.775 MB / 0.7918 GB, free: 23.57 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004814/1.905, allocations: 95.97 kB / 0.7919 GB, free: 23.48 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/1.917, allocations: 10.87 MB / 0.8025 GB, free: 12.53 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.917, allocations: 4 kB / 0.8025 GB, free: 12.53 MB / 426.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1825/2.1, allocations: 11.84 MB / 0.8141 GB, free: 117.3 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003474/2.103, allocations: 1.285 MB / 0.8153 GB, free: 117.3 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/2.104, allocations: 83.56 kB / 0.8154 GB, free: 117.3 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/2.107, allocations: 301.5 kB / 0.8157 GB, free: 117.3 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007793/2.108, allocations: 313.1 kB / 0.816 GB, free: 117.3 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003151/2.108, allocations: 120.6 kB / 0.8161 GB, free: 117.3 MB / 426.9 MB Notification: Performance of sorting global known variables: time 0.00715/2.115, allocations: 4.773 MB / 0.8208 GB, free: 115.7 MB / 426.9 MB Notification: Performance of sort global known variables: time 1.5e-07/2.115, allocations: 0 / 0.8208 GB, free: 115.7 MB / 426.9 MB Notification: Performance of remove unused functions: time 0.01181/2.127, allocations: 4.254 MB / 0.8249 GB, free: 115.2 MB / 426.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (381): * Single equations (assignments): 378 * 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.001149/2.128, allocations: 270.2 kB / 0.8252 GB, free: 115.1 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.01521/2.143, allocations: 10.54 MB / 0.8355 GB, free: 111.2 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/2.143, allocations: 0 / 0.8355 GB, free: 111.2 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.005693/2.149, allocations: 3.664 MB / 0.8391 GB, free: 109.7 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007036/2.156, allocations: 1.492 MB / 0.8405 GB, free: 109.1 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04762/2.204, allocations: 30.8 MB / 0.8706 GB, free: 88.38 MB / 426.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01502/2.219, allocations: 11.29 MB / 0.8816 GB, free: 79.8 MB / 426.9 MB Notification: Performance of simCode: alias equations: time 0.01392/2.233, allocations: 3.957 MB / 0.8855 GB, free: 77.22 MB / 426.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002694/2.235, allocations: 500 kB / 0.886 GB, free: 76.75 MB / 426.9 MB Notification: Performance of SimCode: time 1.834e-06/2.235, allocations: 4 kB / 0.886 GB, free: 76.75 MB / 426.9 MB Notification: Performance of Templates: time 0.2266/2.462, allocations: 84.26 MB / 0.9683 GB, free: 9.035 MB / 442.9 MB " [Timeout remaining time 657] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 10.006555999978445]