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.00137/0.00137, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001495/0.001495, allocations: 214.8 kB / 23.72 MB, free: 4.531 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.001539/0.001539, allocations: 47.86 kB / 378.2 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.244, allocations: 53.36 MB / 431.6 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004592/0.2486, allocations: 3.054 MB / 434.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.2508, allocations: 1.308 MB / 435.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.251, allocations: 15.94 kB / 436 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.2514, allocations: 147.1 kB / 436.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009439/0.2523, allocations: 401.8 kB / 436.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.2527, allocations: 187.5 kB / 436.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006206/0.2533, allocations: 458 kB / 437.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.2536, allocations: 120.7 kB / 437.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.2538, allocations: 175.3 kB / 437.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.2541, allocations: 195.2 kB / 437.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.2541, allocations: 36 kB / 437.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.2544, allocations: 175.8 kB / 437.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.2545, allocations: 75.77 kB / 437.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.2547, allocations: 167.2 kB / 438 MB, free: 280 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006762/0.2554, allocations: 0.55 MB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2554, allocations: 0 / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2554, allocations: 0 / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.2554, allocations: 0 / 438.6 MB, free: 15.72 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.00142/0.2568, allocations: 0.6805 MB / 439.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2568, allocations: 8.031 kB / 439.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007863/0.2576, allocations: 120.6 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.2581, allocations: 263.6 kB / 439.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.2581, allocations: 25.38 kB / 439.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.2582, allocations: 36.38 kB / 439.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.2589, allocations: 408.9 kB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2589, allocations: 3.938 kB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.2589, allocations: 16 kB / 440.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2589, allocations: 8 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.2594, allocations: 249.8 kB / 440.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.2614, allocations: 1.121 MB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.2618, allocations: 181.2 kB / 441.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.262, allocations: 85.61 kB / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007642/0.2627, allocations: 0.5537 MB / 442.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2628, allocations: 34.56 kB / 442.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.223e-06/0.2628, allocations: 0 / 442.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005539/0.2633, allocations: 221.6 kB / 442.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.2634, allocations: 81.11 kB / 442.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.2637, allocations: 300.1 kB / 442.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.2637, allocations: 33.7 kB / 443 MB, free: 11.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.2639, allocations: 240 kB / 443.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.264, allocations: 75.41 kB / 443.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.593e-05/0.264, allocations: 57.98 kB / 443.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2642, allocations: 338.8 kB / 443.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.2644, allocations: 68.61 kB / 443.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.2646, allocations: 202.3 kB / 443.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.2651, allocations: 291.1 kB / 444.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2651, allocations: 0 / 444.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005608/0.2656, allocations: 317.2 kB / 444.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2656, allocations: 8 kB / 444.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2656, allocations: 4 kB / 444.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2657, allocations: 4 kB / 444.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.266, allocations: 87.83 kB / 444.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.266, allocations: 8.344 kB / 444.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.2662, allocations: 43.73 kB / 444.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.2662, allocations: 19.94 kB / 444.7 MB, free: 9.203 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.0001499/0.2664, allocations: 153.7 kB / 444.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.2664, allocations: 31.75 kB / 444.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.2665, allocations: 33.73 kB / 444.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2665, allocations: 4 kB / 444.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.2665, allocations: 3.938 kB / 444.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2665, allocations: 0 / 444.9 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.2672, allocations: 418.9 kB / 445.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2672, allocations: 0 / 445.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.2674, allocations: 39.97 kB / 445.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2674, allocations: 4 kB / 445.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.2674, allocations: 7.938 kB / 445.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.2674, allocations: 7.984 kB / 445.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2674, allocations: 3.938 kB / 445.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.268, allocations: 427.5 kB / 445.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.268, allocations: 31.84 kB / 445.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.2681, allocations: 7.938 kB / 445.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.2683, allocations: 15.98 kB / 445.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.2684, allocations: 15.97 kB / 445.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.2684, allocations: 8 kB / 445.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.2686, allocations: 195.1 kB / 446.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2686, allocations: 0 / 446.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004172/0.269, allocations: 83.78 kB / 446.2 MB, free: 7.676 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.0001567/0.2691, allocations: 119.2 kB / 446.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000401/0.2695, allocations: 183.2 kB / 446.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2695, allocations: 3.938 kB / 446.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.2697, allocations: 67.84 kB / 446.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.2701, allocations: 31.2 kB / 446.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2712, allocations: 0.6595 MB / 447.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.2714, allocations: 168.8 kB / 447.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.2715, allocations: 26.97 kB / 447.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.2715, allocations: 27.42 kB / 447.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2715, allocations: 0 / 447.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Templates: time 0.006739/0.2783, allocations: 2.655 MB / 450.1 MB, free: 3.73 MB / 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.478475581854582]