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.001341/0.001341, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001398/0.001398, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.517/1.517, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001594/0.001594, allocations: 55.86 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3627, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005513/0.3682, allocations: 3.049 MB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.371, allocations: 1.312 MB / 436.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.3712, allocations: 11.94 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.3717, allocations: 139.1 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.3729, allocations: 413.8 kB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.3733, allocations: 187.4 kB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007734/0.3741, allocations: 466 kB / 437.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.3744, allocations: 112.7 kB / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.3746, allocations: 179.3 kB / 438.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.375, allocations: 199.2 kB / 438.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.479e-05/0.375, allocations: 36 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.3754, allocations: 167.8 kB / 438.6 MB, free: 476 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.3755, allocations: 79.75 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.3757, allocations: 163.2 kB / 438.8 MB, free: 232 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008371/0.3765, allocations: 0.5445 MB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3765, allocations: 0 / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3765, allocations: 4 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3765, allocations: 0 / 439.3 MB, free: 15.68 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.001694/0.3782, allocations: 0.6805 MB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.3783, allocations: 11.97 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007778/0.3791, allocations: 124.6 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.3797, allocations: 259.7 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.3797, allocations: 21.38 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.3798, allocations: 36.38 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009751/0.3808, allocations: 404.9 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.3808, allocations: 0 / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.3808, allocations: 16 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3808, allocations: 12 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.3814, allocations: 245.8 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.3838, allocations: 1.129 MB / 442.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.3842, allocations: 177.2 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.3844, allocations: 93.53 kB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008404/0.3852, allocations: 0.5459 MB / 443.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3853, allocations: 38.56 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.3853, allocations: 4 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006066/0.3859, allocations: 225.3 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.386, allocations: 81.11 kB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.3863, allocations: 296.2 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.3864, allocations: 25.7 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.3866, allocations: 240 kB / 444 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.3866, allocations: 67.42 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.3868, allocations: 65.98 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.387, allocations: 338.8 kB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.3871, allocations: 68.61 kB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.3874, allocations: 210.3 kB / 444.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.3879, allocations: 292.1 kB / 445 MB, free: 9.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3879, allocations: 4 kB / 445 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005869/0.3885, allocations: 309.5 kB / 445.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.3885, allocations: 12.09 kB / 445.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3885, allocations: 4 kB / 445.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.3886, allocations: 4 kB / 445.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.3889, allocations: 83.83 kB / 445.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.3889, allocations: 7.938 kB / 445.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3891, allocations: 47.72 kB / 445.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.3891, allocations: 12 kB / 445.5 MB, free: 9.164 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.0002022/0.3893, allocations: 161.6 kB / 445.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/0.3894, allocations: 31.81 kB / 445.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/0.3895, allocations: 29.73 kB / 445.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3895, allocations: 4 kB / 445.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3895, allocations: 3.938 kB / 445.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3895, allocations: 0 / 445.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.3902, allocations: 418.8 kB / 446.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3902, allocations: 4 kB / 446.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.3905, allocations: 39.98 kB / 446.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.3905, allocations: 12.02 kB / 446.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3905, allocations: 3.938 kB / 446.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.3905, allocations: 320 / 446.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3905, allocations: 4 kB / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.3912, allocations: 425.9 kB / 446.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.3912, allocations: 27.81 kB / 446.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.3913, allocations: 7.938 kB / 446.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3915, allocations: 16.05 kB / 446.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.3916, allocations: 19.97 kB / 446.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3916, allocations: 4 kB / 446.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.3918, allocations: 199.1 kB / 446.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3918, allocations: 0 / 446.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004737/0.3923, allocations: 83.78 kB / 446.9 MB, free: 7.633 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.0002288/0.3925, allocations: 123.2 kB / 447 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.393, allocations: 170.4 kB / 447.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.393, allocations: 5.125 kB / 447.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3931, allocations: 71.84 kB / 447.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.3936, allocations: 31.23 kB / 447.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.395, allocations: 0.6596 MB / 448 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.3952, allocations: 164.8 kB / 448.1 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3954, allocations: 34.95 kB / 448.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.3954, allocations: 31.44 kB / 448.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3954, allocations: 0 / 448.2 MB, free: 6.297 MB / 350.1 MB Notification: Performance of Templates: time 0.008109/0.4036, allocations: 2.652 MB / 450.8 MB, free: 3.688 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 -s cvode -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/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_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: 5.213944903007359]