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.001923/0.001923, allocations: 119.6 kB / 20.44 MB, free: 1.301 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.002067/0.002067, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.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 0.001647/0.001647, allocations: 47.92 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2213, allocations: 53.37 MB / 431.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.03292/0.2542, allocations: 28.76 MB / 460.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.2721, allocations: 7.232 MB / 467.6 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005475/0.2775, allocations: 314.4 kB / 467.9 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0288/0.3063, allocations: 13.25 MB / 481.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009203/0.3155, allocations: 2.637 MB / 483.8 MB, free: 2.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006048/0.3216, allocations: 2.105 MB / 485.9 MB, free: 484 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02604/0.3476, allocations: 18.55 MB / 0.4926 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05659/0.4042, allocations: 28.39 MB / 0.5204 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01783/0.422, allocations: 10.15 MB / 0.5303 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.4324/0.8544, allocations: 11.15 MB / 0.5412 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007637/0.8621, allocations: 2.92 MB / 0.544 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009701/0.8718, allocations: 3.195 MB / 0.5471 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008156/0.8799, allocations: 5.489 MB / 0.5525 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01722/0.8972, allocations: 10.82 MB / 0.5631 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03277/0.9299, allocations: 39.1 MB / 0.6013 GB, free: 5.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.9299, allocations: 2.344 kB / 0.6013 GB, free: 5.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.9299, allocations: 0 / 0.6013 GB, free: 5.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009599/0.9309, allocations: 0 / 0.6013 GB, free: 5.477 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.06361/0.9945, allocations: 22.24 MB / 0.623 GB, free: 2.121 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.9945, allocations: 12.03 kB / 0.623 GB, free: 2.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04783/1.042, allocations: 8.241 MB / 0.631 GB, free: 9.938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03066/1.073, allocations: 11.89 MB / 0.6426 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001797/1.075, allocations: 1.346 MB / 0.644 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007003/1.082, allocations: 1.757 MB / 0.6457 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06911/1.151, allocations: 28.76 MB / 0.6738 GB, free: 14.57 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005637/1.152, allocations: 19.91 kB / 0.6738 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00483/1.156, allocations: 0.7279 MB / 0.6745 GB, free: 13.84 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008594/1.157, allocations: 0.8474 MB / 0.6753 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05254/1.21, allocations: 24.83 MB / 0.6996 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3962/1.606, allocations: 85.99 MB / 0.7835 GB, free: 148 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/1.626, allocations: 12.87 MB / 0.7961 GB, free: 147.6 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008003/1.634, allocations: 5.04 MB / 0.801 GB, free: 147.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005937/1.635, allocations: 173.1 kB / 0.8012 GB, free: 147.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.639e-05/1.635, allocations: 104.1 kB / 0.8013 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=577): time 8.566e-06/1.635, allocations: 0 / 0.8013 GB, free: 147.4 MB / 0.5763 GB Notification: Performance of matching and sorting (n=577): time 0.03294/1.668, allocations: 14.69 MB / 0.8156 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/1.668, allocations: 138.3 kB / 0.8158 GB, free: 144.2 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009984/1.678, allocations: 6.426 MB / 0.8221 GB, free: 141.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007342/1.679, allocations: 123.5 kB / 0.8222 GB, free: 141.3 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00372/1.682, allocations: 7.893 MB / 0.8299 GB, free: 134.4 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/1.684, allocations: 2.106 MB / 0.8319 GB, free: 132.6 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00384/1.688, allocations: 2.122 MB / 0.834 GB, free: 131.4 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.948e-05/1.688, allocations: 301.1 kB / 0.8343 GB, free: 131.1 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005965/1.694, allocations: 4.747 MB / 0.8389 GB, free: 128.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009098/1.703, allocations: 9.471 MB / 0.8482 GB, free: 119.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/1.719, allocations: 15.33 MB / 0.8631 GB, free: 103.9 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001604/1.719, allocations: 51.94 kB / 0.8632 GB, free: 103.8 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0231/1.742, allocations: 15.41 MB / 0.8782 GB, free: 88.35 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/1.742, allocations: 75.98 kB / 0.8783 GB, free: 88.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/1.743, allocations: 160 kB / 0.8785 GB, free: 88.12 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005292/1.748, allocations: 1.653 MB / 0.8801 GB, free: 86.46 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007535/1.755, allocations: 2.363 MB / 0.8824 GB, free: 84.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/1.769, allocations: 11.52 MB / 0.8936 GB, free: 72.47 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007854/1.777, allocations: 1.37 MB / 0.895 GB, free: 71.09 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/1.778, allocations: 0.539 MB / 0.8955 GB, free: 70.55 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.01218/1.79, allocations: 7.149 MB / 0.9025 GB, free: 63.39 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00201/1.792, allocations: 0.6442 MB / 0.9031 GB, free: 62.74 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/1.808, allocations: 10.07 MB / 0.913 GB, free: 52.55 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01008/1.818, allocations: 7.773 MB / 0.9205 GB, free: 44.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.68e-05/1.818, allocations: 15.94 kB / 0.9206 GB, free: 44.68 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.132e-05/1.819, allocations: 27.89 kB / 0.9206 GB, free: 44.66 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04535/1.864, allocations: 25.36 MB / 0.9454 GB, free: 19.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/1.864, allocations: 8 kB / 0.9454 GB, free: 19.16 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00375/1.868, allocations: 1.014 MB / 0.9463 GB, free: 18.14 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004922/1.873, allocations: 1.465 MB / 0.9478 GB, free: 16.67 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006406/1.873, allocations: 136 kB / 0.9479 GB, free: 16.54 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/1.886, allocations: 11.05 MB / 0.9587 GB, free: 5.375 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.886, allocations: 19.88 kB / 0.9587 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02427/1.91, allocations: 14.14 MB / 0.9725 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004507/1.914, allocations: 1.451 MB / 0.9739 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001705/1.916, allocations: 108 kB / 0.9741 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003754/1.92, allocations: 319.8 kB / 0.9744 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/1.921, allocations: 428.1 kB / 0.9748 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005962/1.922, allocations: 176 kB / 0.9749 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008556/1.93, allocations: 4.309 MB / 0.9791 GB, free: 124 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.93, allocations: 0 / 0.9791 GB, free: 124 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.2662/2.196, allocations: 4.083 MB / 0.9831 GB, free: 187.7 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.001565/2.198, allocations: 321.2 kB / 0.9834 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01659/2.214, allocations: 10.96 MB / 0.9941 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.215, allocations: 3.938 kB / 0.9941 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006008/2.221, allocations: 4.346 MB / 0.9984 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006724/2.227, allocations: 1.559 MB / 0.9999 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05522/2.282, allocations: 29.84 MB / 1.029 GB, free: 171 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02049/2.303, allocations: 11.26 MB / 1.04 GB, free: 164.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01051/2.313, allocations: 3.768 MB / 1.044 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002588/2.316, allocations: 0.5446 MB / 1.044 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.393e-06/2.316, allocations: 4 kB / 1.044 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1589/2.475, allocations: 103.8 MB / 1.146 GB, free: 61.14 MB / 0.5919 GB " [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: 10.192343773087487]