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.001708/0.001708, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002082/0.002082, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 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.428/1.428, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 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 0.001921/0.001921, allocations: 55.91 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.251, allocations: 53.41 MB / 432.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004948/0.2559, allocations: 3.345 MB / 435.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.2584, allocations: 1.432 MB / 437.2 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.2586, allocations: 8 kB / 437.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.259, allocations: 147 kB / 437.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.26, allocations: 429.7 kB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.2604, allocations: 187.6 kB / 438 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006421/0.2611, allocations: 462 kB / 438.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.2613, allocations: 108.7 kB / 438.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.2615, allocations: 179.3 kB / 438.7 MB, free: 496 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.2618, allocations: 203.1 kB / 438.9 MB, free: 292 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/0.2619, allocations: 39.94 kB / 438.9 MB, free: 252 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.2622, allocations: 175.9 kB / 439.1 MB, free: 76 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.752e-05/0.2623, allocations: 83.72 kB / 439.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.2625, allocations: 191 kB / 439.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.2632, allocations: 0.5537 MB / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2632, allocations: 0 / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2632, allocations: 0 / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.2632, allocations: 0 / 439.9 MB, free: 15.25 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.001451/0.2647, allocations: 0.6845 MB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2647, allocations: 8.031 kB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007444/0.2655, allocations: 108.6 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.266, allocations: 259.9 kB / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.266, allocations: 29.38 kB / 441 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.2661, allocations: 32.38 kB / 441 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.2667, allocations: 357.5 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2667, allocations: 3.938 kB / 441.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.2668, allocations: 16 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2668, allocations: 8 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.2673, allocations: 249.9 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.2695, allocations: 1.261 MB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.2699, allocations: 189 kB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.2701, allocations: 85.69 kB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/0.2708, allocations: 0.573 MB / 443.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.2709, allocations: 38.5 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.276e-06/0.2709, allocations: 7.984 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000576/0.2715, allocations: 217.5 kB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.2715, allocations: 84.98 kB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.2719, allocations: 288.2 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.2719, allocations: 29.7 kB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.2721, allocations: 244.1 kB / 444.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.2721, allocations: 67.42 kB / 444.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.2722, allocations: 73.97 kB / 444.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2724, allocations: 334.8 kB / 445.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.2726, allocations: 68.62 kB / 445.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.2728, allocations: 202.4 kB / 445.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.2733, allocations: 296.1 kB / 445.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2733, allocations: 4 kB / 445.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005957/0.2739, allocations: 309.5 kB / 446 MB, free: 8.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2739, allocations: 4 kB / 446 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2739, allocations: 7.938 kB / 446 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.2739, allocations: 11.98 kB / 446 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.2742, allocations: 87.72 kB / 446.1 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.2742, allocations: 8 kB / 446.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.2744, allocations: 35.77 kB / 446.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.2745, allocations: 16.25 kB / 446.1 MB, free: 8.633 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.0001628/0.2746, allocations: 157.8 kB / 446.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.2747, allocations: 27.81 kB / 446.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.2748, allocations: 33.78 kB / 446.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.2748, allocations: 7.938 kB / 446.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2748, allocations: 4 kB / 446.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2748, allocations: 3.984 kB / 446.4 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007554/0.2756, allocations: 494.2 kB / 446.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2756, allocations: 0 / 446.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.2758, allocations: 43.91 kB / 446.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2758, allocations: 4 kB / 446.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.2758, allocations: 4 kB / 446.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2758, allocations: 7.938 kB / 446.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2758, allocations: 0 / 446.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.2764, allocations: 424.5 kB / 447.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.2764, allocations: 39.67 kB / 447.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.2765, allocations: 4 kB / 447.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.2767, allocations: 15.98 kB / 447.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.2767, allocations: 12.05 kB / 447.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.2768, allocations: 8 kB / 447.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.277, allocations: 207 kB / 447.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.277, allocations: 0 / 447.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.2774, allocations: 71.89 kB / 447.7 MB, free: 7.02 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.0001737/0.2776, allocations: 115.2 kB / 447.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004129/0.278, allocations: 180.7 kB / 448 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.278, allocations: 4 kB / 448 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.2781, allocations: 68.03 kB / 448 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.2785, allocations: 36.09 kB / 448.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2797, allocations: 0.6801 MB / 448.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.2802, allocations: 0.7792 MB / 449.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.2802, allocations: 31.44 kB / 449.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2802, allocations: 0 / 449.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of Templates: time 0.006286/0.2865, allocations: 3.531 MB / 453.1 MB, free: 1.531 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/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: 7.065988986054435]