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.0009447/0.0009447, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009558/0.0009558, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9303/0.9303, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.533e-06/1.533e-06, allocations: 0 / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.842e-05, allocations: 2.312 kB / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003175/0.003193, allocations: 3.288 MB / 276.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.004577, allocations: 1.358 MB / 277.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.004705, allocations: 11.94 kB / 277.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.005006, allocations: 139 kB / 277.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006231/0.005629, allocations: 429.4 kB / 278.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.005847, allocations: 179.5 kB / 278.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.006269, allocations: 477.8 kB / 278.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.006422, allocations: 108.8 kB / 279 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.006618, allocations: 255.3 kB / 279.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.006787, allocations: 159.5 kB / 279.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.006825, allocations: 32 kB / 279.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.007021, allocations: 163.8 kB / 279.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.007066, allocations: 79.61 kB / 279.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.007159, allocations: 135.7 kB / 279.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.007547, allocations: 422.4 kB / 280.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007549, allocations: 7.984 kB / 280.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.00755, allocations: 0 / 280.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.007555, allocations: 0 / 280.2 MB, free: 10.62 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.0008938/0.008448, allocations: 0.7766 MB / 281 MB, free: 9.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.008481, allocations: 12.03 kB / 281 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000486/0.008967, allocations: 160.5 kB / 281.2 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.009243, allocations: 265.8 kB / 281.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.009263, allocations: 25.38 kB / 281.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.009303, allocations: 36.33 kB / 281.5 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.009656, allocations: 347.5 kB / 281.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.009667, allocations: 192 / 281.8 MB, free: 8.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.009691, allocations: 12.38 kB / 281.9 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.009701, allocations: 11.94 kB / 281.9 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.009899, allocations: 131.7 kB / 282 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.01126, allocations: 1.214 MB / 283.2 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.01147, allocations: 162.1 kB / 283.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.01154, allocations: 51.36 kB / 283.4 MB, free: 7.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004545/0.01199, allocations: 0.725 MB / 284.1 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.01202, allocations: 41.39 kB / 284.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.01202, allocations: 0 / 284.2 MB, free: 6.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002636/0.01228, allocations: 153.8 kB / 284.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.01231, allocations: 81.11 kB / 284.4 MB, free: 6.191 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.01251, allocations: 338.3 kB / 284.7 MB, free: 5.844 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.01252, allocations: 29.7 kB / 284.8 MB, free: 5.809 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.01263, allocations: 294.7 kB / 285.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.01267, allocations: 59.53 kB / 285.1 MB, free: 5.453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.01273, allocations: 75.64 kB / 285.2 MB, free: 5.367 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.01284, allocations: 0.5117 MB / 285.7 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.01289, allocations: 32.62 kB / 285.7 MB, free: 4.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.01302, allocations: 230.9 kB / 286 MB, free: 4.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.01323, allocations: 285.5 kB / 286.2 MB, free: 4.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.01323, allocations: 3.984 kB / 286.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002658/0.0135, allocations: 276.8 kB / 286.5 MB, free: 3.863 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.01351, allocations: 6.5 kB / 286.5 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.01352, allocations: 8.562 kB / 286.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01353, allocations: 4 kB / 286.5 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.01368, allocations: 83.84 kB / 286.6 MB, free: 3.766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01369, allocations: 8 kB / 286.6 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.237e-05/0.01379, allocations: 43.66 kB / 286.7 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.0138, allocations: 16 kB / 286.7 MB, free: 3.699 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 8.363e-05/0.01388, allocations: 180.4 kB / 286.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.01392, allocations: 27.86 kB / 286.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.01396, allocations: 33.8 kB / 286.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01396, allocations: 0 / 286.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01397, allocations: 4 kB / 286.9 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01397, allocations: 0 / 286.9 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.01434, allocations: 464.8 kB / 287.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01434, allocations: 0 / 287.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.01445, allocations: 43.97 kB / 287.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01446, allocations: 7.984 kB / 287.4 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01447, allocations: 0 / 287.4 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01447, allocations: 7.938 kB / 287.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01447, allocations: 320 / 287.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.01473, allocations: 449.7 kB / 287.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.01476, allocations: 31.75 kB / 287.9 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.01478, allocations: 4 kB / 287.9 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.01488, allocations: 15.98 kB / 287.9 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.01492, allocations: 15.91 kB / 287.9 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01493, allocations: 12 kB / 287.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.01504, allocations: 219 kB / 288.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01504, allocations: 3.938 kB / 288.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000258/0.0153, allocations: 79.84 kB / 288.2 MB, free: 2.051 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.0001019/0.0154, allocations: 115.3 kB / 288.4 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.01558, allocations: 144.4 kB / 288.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01559, allocations: 0 / 288.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.01564, allocations: 59.53 kB / 288.6 MB, free: 1.723 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.0159, allocations: 24.98 kB / 288.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000876/0.01677, allocations: 0.6102 MB / 289.2 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.01682, allocations: 88.31 kB / 289.3 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.0169, allocations: 34.95 kB / 289.3 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.01694, allocations: 20.5 kB / 289.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01694, allocations: 0 / 289.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of Templates: time 0.004353/0.02129, allocations: 2.217 MB / 291.5 MB, free: 14.71 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.766410306096077]