Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00123/0.00123, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.00148/0.00148, allocations: 165.6 kB / 25.69 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9077/0.9077, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.347e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003591/0.003615, allocations: 3.186 MB / 254.7 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.005532, allocations: 1.328 MB / 256 MB, free: 2.727 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.005716, allocations: 11.94 kB / 256 MB, free: 2.715 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.006105, allocations: 139 kB / 256.2 MB, free: 2.578 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007489/0.006854, allocations: 325.9 kB / 256.5 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.007296, allocations: 267 kB / 256.8 MB, free: 1.996 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006852/0.007981, allocations: 469.7 kB / 257.2 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.008182, allocations: 103.4 kB / 257.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.008554, allocations: 283.4 kB / 257.6 MB, free: 1.156 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.008796, allocations: 179.5 kB / 257.8 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.008842, allocations: 32 kB / 257.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.0091, allocations: 143.8 kB / 257.9 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.009159, allocations: 91.59 kB / 258 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.00926, allocations: 131.7 kB / 258.2 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.009742, allocations: 398.6 kB / 258.6 MB, free: 204 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.009746, allocations: 0 / 258.6 MB, free: 204 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009747, allocations: 0 / 258.6 MB, free: 204 kB / 234.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.009753, allocations: 0 / 258.6 MB, free: 204 kB / 234.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.0009421/0.01069, allocations: 0.6471 MB / 259.2 MB, free: 15.53 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.01074, allocations: 15.98 kB / 259.2 MB, free: 15.51 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.01112, allocations: 132.7 kB / 259.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.01139, allocations: 193.2 kB / 259.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.01141, allocations: 25.38 kB / 259.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.01146, allocations: 36.33 kB / 259.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.01179, allocations: 325.8 kB / 259.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.01181, allocations: 4.172 kB / 259.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.01183, allocations: 13.12 kB / 259.9 MB, free: 14.74 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.01184, allocations: 8 kB / 259.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.01196, allocations: 79.45 kB / 260 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.01311, allocations: 0.9879 MB / 261 MB, free: 13.6 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.01329, allocations: 125 kB / 261.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.01333, allocations: 41.83 kB / 261.2 MB, free: 13.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.01374, allocations: 485.2 kB / 261.6 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.01376, allocations: 38.55 kB / 261.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.01376, allocations: 3.938 kB / 261.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001865/0.01395, allocations: 109.6 kB / 261.8 MB, free: 12.76 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.01398, allocations: 81.11 kB / 261.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01413, allocations: 263 kB / 262.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.01414, allocations: 29.7 kB / 262.2 MB, free: 12.36 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.01422, allocations: 239.9 kB / 262.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.01426, allocations: 63.42 kB / 262.4 MB, free: 12.06 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.01432, allocations: 65.94 kB / 262.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.0144, allocations: 338.8 kB / 262.8 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.01443, allocations: 24.64 kB / 262.9 MB, free: 11.62 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.01451, allocations: 158.4 kB / 263 MB, free: 11.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.01466, allocations: 212.8 kB / 263.2 MB, free: 11.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.01467, allocations: 11.94 kB / 263.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001944/0.01486, allocations: 205.7 kB / 263.4 MB, free: 10.92 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.01488, allocations: 4 kB / 263.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01488, allocations: 15.91 kB / 263.5 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.0149, allocations: 8 kB / 263.5 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.01506, allocations: 75.91 kB / 263.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.01507, allocations: 11.98 kB / 263.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.146e-05/0.01516, allocations: 31.78 kB / 263.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.01517, allocations: 11.94 kB / 263.6 MB, free: 10.76 MB / 250.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.816e-05/0.01526, allocations: 133.7 kB / 263.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.0153, allocations: 19.97 kB / 263.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.01533, allocations: 34.05 kB / 263.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01534, allocations: 4 kB / 263.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.01534, allocations: 4 kB / 263.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01535, allocations: 0 / 263.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.01578, allocations: 303.3 kB / 264.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.01578, allocations: 0 / 264.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.0159, allocations: 51.91 kB / 264.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.01591, allocations: 0 / 264.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.01592, allocations: 0 / 264.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01592, allocations: 8.031 kB / 264.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01592, allocations: 0 / 264.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.01613, allocations: 311.4 kB / 264.4 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.01616, allocations: 23.8 kB / 264.5 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.01618, allocations: 4 kB / 264.5 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.01628, allocations: 11.98 kB / 264.5 MB, free: 9.812 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.01632, allocations: 15.92 kB / 264.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.01633, allocations: 4 kB / 264.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.593e-05/0.01639, allocations: 92.62 kB / 264.6 MB, free: 9.699 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01639, allocations: 4.031 kB / 264.6 MB, free: 9.695 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000257/0.01665, allocations: 83.84 kB / 264.7 MB, free: 9.613 MB / 250.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.0001355/0.01678, allocations: 84.41 kB / 264.8 MB, free: 9.523 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.01694, allocations: 133.1 kB / 264.9 MB, free: 9.395 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.01695, allocations: 4 kB / 264.9 MB, free: 9.391 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.017, allocations: 44.78 kB / 264.9 MB, free: 9.344 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01723, allocations: 24.97 kB / 265 MB, free: 9.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009207/0.01816, allocations: 0.5844 MB / 265.6 MB, free: 8.699 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.554e-05/0.01821, allocations: 92.25 kB / 265.6 MB, free: 8.59 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.805e-05/0.01829, allocations: 30.27 kB / 265.7 MB, free: 8.562 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.01839, allocations: 91.34 kB / 265.8 MB, free: 8.473 MB / 250.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01839, allocations: 4 kB / 265.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of Templates: time 0.004691/0.02308, allocations: 2.319 MB / 268.1 MB, free: 6.176 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5853040888905525]