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.001871/0.001871, allocations: 88.33 kB / 20.95 MB, free: 3.609 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.0023/0.0023, allocations: 165.6 kB / 24.27 MB, free: 300 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.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.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.363e-06/1.363e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.578e-05, allocations: 6.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00521/0.005236, allocations: 3.056 MB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.007986, allocations: 1.308 MB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.00825, allocations: 11.94 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.008744, allocations: 142.9 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.009945, allocations: 425.5 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.01043, allocations: 175.4 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007748/0.0112, allocations: 481.8 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.01146, allocations: 104.8 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.01188, allocations: 259.3 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.01217, allocations: 143.6 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.281e-05/0.01224, allocations: 39.98 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.01261, allocations: 163.7 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.0127, allocations: 79.61 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.01288, allocations: 135.6 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008516/0.01373, allocations: 0.5723 MB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01373, allocations: 0 / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01373, allocations: 0 / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.01374, allocations: 0 / 279.4 MB, free: 10.75 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.001589/0.01533, allocations: 0.6766 MB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.01537, allocations: 8.031 kB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008633/0.01623, allocations: 164.5 kB / 280.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.01678, allocations: 262.9 kB / 280.5 MB, free: 9.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.01682, allocations: 25.38 kB / 280.5 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.01689, allocations: 32.38 kB / 280.5 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.01766, allocations: 405.2 kB / 280.9 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01767, allocations: 4.188 kB / 280.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.01771, allocations: 12.38 kB / 280.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.01773, allocations: 15.92 kB / 280.9 MB, free: 9.078 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/0.01829, allocations: 253.8 kB / 281.2 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.02057, allocations: 1.146 MB / 282.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.02102, allocations: 185.2 kB / 282.5 MB, free: 7.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.0212, allocations: 77.69 kB / 282.6 MB, free: 7.328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008501/0.02205, allocations: 0.5458 MB / 283.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.02209, allocations: 38.56 kB / 283.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.02209, allocations: 0 / 283.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006346/0.02273, allocations: 225.9 kB / 283.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.02279, allocations: 81.11 kB / 283.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.02315, allocations: 292.2 kB / 283.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.02319, allocations: 33.7 kB / 283.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.0234, allocations: 240 kB / 284 MB, free: 5.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/0.02347, allocations: 67.47 kB / 284.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.02358, allocations: 65.98 kB / 284.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.02378, allocations: 338.8 kB / 284.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.02396, allocations: 72.61 kB / 284.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.02427, allocations: 202.4 kB / 284.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.02476, allocations: 292.9 kB / 285 MB, free: 4.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.02477, allocations: 4 kB / 285 MB, free: 4.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006611/0.02543, allocations: 345.1 kB / 285.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.02545, allocations: 4 kB / 285.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.02546, allocations: 4 kB / 285.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.02548, allocations: 8 kB / 285.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.02579, allocations: 75.89 kB / 285.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.0258, allocations: 11.94 kB / 285.5 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.02602, allocations: 31.78 kB / 285.5 MB, free: 4.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.02604, allocations: 16.12 kB / 285.5 MB, free: 4.168 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.0001912/0.02623, allocations: 169.6 kB / 285.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.02632, allocations: 31.81 kB / 285.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.02638, allocations: 29.8 kB / 285.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.02639, allocations: 0 / 285.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.02639, allocations: 0 / 285.8 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.0264, allocations: 11.92 kB / 285.8 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.02715, allocations: 422.8 kB / 286.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.02716, allocations: 0 / 286.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.02739, allocations: 51.94 kB / 286.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.02739, allocations: 0 / 286.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.02742, allocations: 8 kB / 286.2 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.02742, allocations: 3.984 kB / 286.2 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02742, allocations: 0 / 286.2 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.0281, allocations: 424.9 kB / 286.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.02815, allocations: 23.89 kB / 286.7 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.02818, allocations: 4 kB / 286.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.02841, allocations: 23.98 kB / 286.7 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.02847, allocations: 11.92 kB / 286.7 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.02849, allocations: 11.98 kB / 286.7 MB, free: 2.895 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.02872, allocations: 195.1 kB / 286.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02872, allocations: 0 / 286.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00055/0.02927, allocations: 87.78 kB / 287 MB, free: 2.621 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.0001857/0.02945, allocations: 118.5 kB / 287.1 MB, free: 2.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.02989, allocations: 180.4 kB / 287.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0299, allocations: 320 / 287.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.03007, allocations: 67.91 kB / 287.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.03049, allocations: 28.97 kB / 287.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.0317, allocations: 0.6107 MB / 288 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.03191, allocations: 164.8 kB / 288.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.03204, allocations: 34.95 kB / 288.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.03211, allocations: 32.42 kB / 288.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.03211, allocations: 4 kB / 288.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of Templates: time 0.1126/0.1447, allocations: 2.177 MB / 290.4 MB, free: 27.61 MB / 266.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.563230796018615]