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.001739/0.001739, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002181/0.002181, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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.533/1.533, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 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 0.002735/0.002735, allocations: 47.92 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1444, allocations: 53.32 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005869/0.1502, allocations: 3.32 MB / 430.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1941/0.3443, allocations: 1.406 MB / 431.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.3446, allocations: 11.41 kB / 431.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.3451, allocations: 148.7 kB / 431.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009088/0.346, allocations: 439.9 kB / 432.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.3464, allocations: 177.2 kB / 432.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005281/0.3469, allocations: 466.4 kB / 432.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.3471, allocations: 115.4 kB / 432.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.3473, allocations: 173.4 kB / 433 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.3475, allocations: 203.6 kB / 433.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.3476, allocations: 34.06 kB / 433.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.3479, allocations: 170.3 kB / 433.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.3479, allocations: 81.28 kB / 433.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.3481, allocations: 201 kB / 433.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.3486, allocations: 0.553 MB / 434.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3486, allocations: 4.125 kB / 434.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3486, allocations: 0 / 434.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.3486, allocations: 1.469 kB / 434.2 MB, free: 7.738 MB / 350.1 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.001332/0.3499, allocations: 0.7544 MB / 435 MB, free: 7.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.35, allocations: 10.22 kB / 435 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/0.3507, allocations: 115.7 kB / 435.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.3511, allocations: 318 kB / 435.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.3512, allocations: 26.28 kB / 435.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.3512, allocations: 34.95 kB / 435.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.3518, allocations: 354.8 kB / 435.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3518, allocations: 3.938 kB / 435.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.3519, allocations: 14.97 kB / 435.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3519, allocations: 7.875 kB / 435.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.3523, allocations: 252.1 kB / 436.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3542, allocations: 1.316 MB / 437.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.3546, allocations: 189 kB / 437.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.3547, allocations: 79.88 kB / 437.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/0.3554, allocations: 1.201 MB / 438.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3555, allocations: 32.81 kB / 438.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.3555, allocations: 0 / 438.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005324/0.356, allocations: 225.3 kB / 439.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.356, allocations: 84.19 kB / 439.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.3563, allocations: 296 kB / 439.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3563, allocations: 27.39 kB / 439.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3564, allocations: 242.8 kB / 439.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.3564, allocations: 66.83 kB / 439.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.358e-05/0.3565, allocations: 65.22 kB / 439.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.688e-05/0.3566, allocations: 341.9 kB / 440.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.3568, allocations: 66.53 kB / 440.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3569, allocations: 200 kB / 440.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.3573, allocations: 289.7 kB / 440.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3573, allocations: 1.812 kB / 440.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005045/0.3578, allocations: 320 kB / 441.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3578, allocations: 8.234 kB / 441.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3578, allocations: 8.938 kB / 441.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3578, allocations: 10.39 kB / 441.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.3581, allocations: 80.48 kB / 441.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3581, allocations: 14.69 kB / 441.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.3583, allocations: 34.78 kB / 441.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.3584, allocations: 17.42 kB / 441.3 MB, free: 3.113 MB / 350.1 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.0001078/0.3585, allocations: 155.1 kB / 441.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.3585, allocations: 33.55 kB / 441.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.3586, allocations: 32.7 kB / 441.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3586, allocations: 2.719 kB / 441.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3586, allocations: 5.25 kB / 441.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3586, allocations: 1.359 kB / 441.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.3592, allocations: 0.5096 MB / 442 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3592, allocations: 5.125 kB / 442 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.3594, allocations: 45.33 kB / 442.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3595, allocations: 5.094 kB / 442.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3595, allocations: 8.438 kB / 442.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3595, allocations: 1.531 kB / 442.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3595, allocations: 2.344 kB / 442.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.36, allocations: 421.9 kB / 442.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.36, allocations: 110.5 kB / 442.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.36, allocations: 3.219 kB / 442.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.3603, allocations: 15.39 kB / 442.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.3603, allocations: 11.05 kB / 442.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.3603, allocations: 5.234 kB / 442.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.3605, allocations: 205.2 kB / 442.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3605, allocations: 0 / 442.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000443/0.361, allocations: 82.36 kB / 442.9 MB, free: 1.961 MB / 350.1 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.000139/0.3611, allocations: 113.4 kB / 443 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000377/0.3615, allocations: 184.8 kB / 443.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3615, allocations: 3.938 kB / 443.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.3616, allocations: 70.69 kB / 443.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.362, allocations: 37.91 kB / 443.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3631, allocations: 0.6595 MB / 444 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.3633, allocations: 0.7733 MB / 444.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.3635, allocations: 38.56 kB / 444.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.3635, allocations: 24.25 kB / 444.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3635, allocations: 1.062 kB / 444.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of Templates: time 0.006743/0.3703, allocations: 2.431 MB / 447.2 MB, free: 424 kB / 350.1 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.776593040674925]