Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001463/0.001463, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.00154/0.00154, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.436e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005005/0.005029, allocations: 3.07 MB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.007628, allocations: 1.296 MB / 276.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.007805, allocations: 11.94 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.008238, allocations: 147 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.009365, allocations: 425.5 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.009815, allocations: 191.3 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007162/0.01053, allocations: 473.8 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.01076, allocations: 100.8 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.01112, allocations: 259.3 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.0114, allocations: 147.6 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.01147, allocations: 36 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.01181, allocations: 163.7 kB / 278.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.01191, allocations: 87.61 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.01208, allocations: 135.7 kB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008033/0.01288, allocations: 0.5606 MB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01289, allocations: 0 / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01289, allocations: 0 / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.01289, allocations: 4 kB / 279.2 MB, free: 10.71 MB / 266.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.001529/0.01442, allocations: 0.6727 MB / 279.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.01446, allocations: 19.98 kB / 279.9 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000835/0.0153, allocations: 160.5 kB / 280.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.0158, allocations: 255.2 kB / 280.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.01584, allocations: 25.38 kB / 280.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.01591, allocations: 36.38 kB / 280.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/0.01665, allocations: 409.2 kB / 280.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.01666, allocations: 192 / 280.8 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.0167, allocations: 16.38 kB / 280.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.01672, allocations: 11.94 kB / 280.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.01727, allocations: 249.8 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.01957, allocations: 1.15 MB / 282.2 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.01999, allocations: 181.2 kB / 282.4 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.02017, allocations: 77.69 kB / 282.5 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008084/0.02098, allocations: 0.5575 MB / 283 MB, free: 6.715 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.02101, allocations: 34.55 kB / 283.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.02102, allocations: 0 / 283.1 MB, free: 6.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006323/0.02165, allocations: 229.3 kB / 283.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.02171, allocations: 85.11 kB / 283.4 MB, free: 6.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.02208, allocations: 292.2 kB / 283.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.0221, allocations: 29.7 kB / 283.7 MB, free: 6.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.02231, allocations: 248 kB / 283.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.02237, allocations: 67.48 kB / 284 MB, free: 5.695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.02247, allocations: 61.98 kB / 284.1 MB, free: 5.625 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.02266, allocations: 338.8 kB / 284.4 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.02283, allocations: 68.61 kB / 284.5 MB, free: 5.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.02313, allocations: 206.3 kB / 284.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.02361, allocations: 292.8 kB / 284.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.02362, allocations: 0 / 284.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006321/0.02425, allocations: 333.3 kB / 285.3 MB, free: 4.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.02427, allocations: 8 kB / 285.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.02428, allocations: 4 kB / 285.3 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.0243, allocations: 4 kB / 285.3 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.02462, allocations: 87.83 kB / 285.4 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.02463, allocations: 4 kB / 285.4 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.02483, allocations: 39.98 kB / 285.4 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.02486, allocations: 16 kB / 285.4 MB, free: 4.121 MB / 266.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.0001943/0.02505, allocations: 161.6 kB / 285.6 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.02514, allocations: 35.81 kB / 285.6 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.731e-05/0.02521, allocations: 29.8 kB / 285.7 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.02522, allocations: 0 / 285.7 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.02523, allocations: 7.938 kB / 285.7 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02523, allocations: 0 / 285.7 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000735/0.02597, allocations: 422.7 kB / 286.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.02597, allocations: 8.031 kB / 286.1 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.0262, allocations: 39.97 kB / 286.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.0262, allocations: 0 / 286.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.02622, allocations: 8 kB / 286.1 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.02622, allocations: 4.25 kB / 286.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.02623, allocations: 4 kB / 286.1 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.02689, allocations: 427.3 kB / 286.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.02694, allocations: 19.89 kB / 286.6 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.02698, allocations: 16.05 kB / 286.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.0272, allocations: 8 kB / 286.6 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.02727, allocations: 19.91 kB / 286.6 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.02728, allocations: 4 kB / 286.6 MB, free: 2.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002279/0.02751, allocations: 199.1 kB / 286.8 MB, free: 2.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02751, allocations: 3.938 kB / 286.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004749/0.02798, allocations: 83.78 kB / 286.9 MB, free: 2.582 MB / 266.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.0001855/0.02817, allocations: 115.2 kB / 287 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.0286, allocations: 176.7 kB / 287.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0286, allocations: 4.062 kB / 287.2 MB, free: 2.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.02876, allocations: 67.91 kB / 287.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.02919, allocations: 24.92 kB / 287.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.03035, allocations: 0.6139 MB / 287.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.03054, allocations: 168.8 kB / 288.1 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.03066, allocations: 34.95 kB / 288.1 MB, free: 1.336 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.03072, allocations: 28.5 kB / 288.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03072, allocations: 0 / 288.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of Templates: time 0.006642/0.03737, allocations: 2.195 MB / 290.3 MB, free: 15.15 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.236279948032461]