Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001042/0.001042, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005799/0.005799, allocations: 160.6 kB / 24.7 MB, free: 9.43 MB / 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 0.927/0.927, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.896e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004259/0.004288, allocations: 3.057 MB / 328.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.006359, allocations: 1.32 MB / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.006545, allocations: 8 kB / 330.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.00693, allocations: 150.9 kB / 330.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008193/0.00775, allocations: 413.5 kB / 330.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.008052, allocations: 182.9 kB / 330.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.008571, allocations: 481.7 kB / 331.4 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.008767, allocations: 96.84 kB / 331.5 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.008972, allocations: 259.3 kB / 331.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.009135, allocations: 139.6 kB / 331.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.009175, allocations: 36 kB / 331.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.009393, allocations: 171.7 kB / 332.1 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.009442, allocations: 91.59 kB / 332.2 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.896e-05/0.009531, allocations: 131.7 kB / 332.3 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.01016, allocations: 0.5568 MB / 332.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.01016, allocations: 0 / 332.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01017, allocations: 4 kB / 332.9 MB, free: 8.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.01017, allocations: 0 / 332.9 MB, free: 8.352 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009812/0.01115, allocations: 0.6766 MB / 333.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.0112, allocations: 12.03 kB / 333.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.01159, allocations: 116.5 kB / 333.7 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.01196, allocations: 258.9 kB / 333.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.01198, allocations: 29.38 kB / 334 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.01203, allocations: 36.31 kB / 334 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004382/0.01246, allocations: 409 kB / 334.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.01248, allocations: 192 / 334.4 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.0125, allocations: 16.38 kB / 334.4 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01251, allocations: 15.88 kB / 334.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.01281, allocations: 249.9 kB / 334.7 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.01407, allocations: 1.123 MB / 335.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.01433, allocations: 181.2 kB / 336 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.01443, allocations: 77.69 kB / 336 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/0.01494, allocations: 0.5575 MB / 336.6 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.01496, allocations: 38.56 kB / 336.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.01496, allocations: 0 / 336.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003654/0.01533, allocations: 225.2 kB / 336.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.01537, allocations: 77.11 kB / 336.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.01558, allocations: 300.2 kB / 337.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.01559, allocations: 29.7 kB / 337.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.0157, allocations: 240.1 kB / 337.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.01573, allocations: 67.42 kB / 337.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.0158, allocations: 57.98 kB / 337.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.01588, allocations: 342.8 kB / 338 MB, free: 3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.01598, allocations: 68.61 kB / 338 MB, free: 2.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.01612, allocations: 202.3 kB / 338.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.01637, allocations: 292.9 kB / 338.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.01638, allocations: 0 / 338.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003191/0.0167, allocations: 321 kB / 338.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.01671, allocations: 8 kB / 338.8 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01672, allocations: 4 kB / 338.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.01674, allocations: 4 kB / 338.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.01689, allocations: 80.42 kB / 338.9 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.0169, allocations: 11.94 kB / 338.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-05/0.01699, allocations: 39.73 kB / 339 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.01701, allocations: 19.98 kB / 339 MB, free: 1.844 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.01711, allocations: 159.6 kB / 339.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.01714, allocations: 23.86 kB / 339.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.01719, allocations: 29.8 kB / 339.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.01719, allocations: 4 kB / 339.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.0172, allocations: 0 / 339.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.0172, allocations: 0 / 339.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.01776, allocations: 442.9 kB / 339.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01776, allocations: 0 / 339.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.01786, allocations: 39.92 kB / 339.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01787, allocations: 4 kB / 339.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01788, allocations: 7.984 kB / 339.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.01788, allocations: 4 kB / 339.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01789, allocations: 0 / 339.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.01822, allocations: 427.2 kB / 340.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.01825, allocations: 31.78 kB / 340.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.01827, allocations: 0 / 340.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.01838, allocations: 15.98 kB / 340.1 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.01842, allocations: 19.91 kB / 340.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.01843, allocations: 8 kB / 340.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.01854, allocations: 195.1 kB / 340.4 MB, free: 396 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01854, allocations: 0 / 340.4 MB, free: 396 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.0188, allocations: 83.78 kB / 340.4 MB, free: 312 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.01895, allocations: 111.3 kB / 340.6 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.01919, allocations: 188 kB / 340.7 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01919, allocations: 0 / 340.7 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.184e-05/0.01928, allocations: 59.91 kB / 340.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.01958, allocations: 31.95 kB / 340.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007728/0.02035, allocations: 0.6328 MB / 341.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.02046, allocations: 164.8 kB / 341.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.02051, allocations: 36.48 kB / 341.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02051, allocations: 0 / 341.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Templates: time 0.003695/0.02421, allocations: 3.618 MB / 345.3 MB, free: 11.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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: 4.302229447290301]