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.0008802/0.0008802, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009272/0.0009272, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.8516/0.8516, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 4.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.237e-06/1.038e-05, allocations: 5.266 kB / 273.4 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002897/0.002907, allocations: 3.244 MB / 276.7 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.004442, allocations: 1.392 MB / 278.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.004577, allocations: 11.94 kB / 278.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.00488, allocations: 151 kB / 278.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006481/0.005528, allocations: 429.4 kB / 278.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.005777, allocations: 187.4 kB / 278.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.006185, allocations: 477.8 kB / 279.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.006329, allocations: 113.5 kB / 279.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.006584, allocations: 299.3 kB / 279.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.006765, allocations: 183.5 kB / 279.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.006801, allocations: 36 kB / 279.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.006994, allocations: 155.8 kB / 280.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.00704, allocations: 83.61 kB / 280.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.007125, allocations: 135.7 kB / 280.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.007479, allocations: 406.5 kB / 280.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00748, allocations: 0 / 280.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.007481, allocations: 7.875 kB / 280.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.007484, allocations: 0 / 280.7 MB, free: 13.16 MB / 266.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.0008429/0.008327, allocations: 0.6557 MB / 281.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.585e-05/0.008353, allocations: 8.031 kB / 281.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.00871, allocations: 136.7 kB / 281.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.00892, allocations: 214 kB / 281.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.008939, allocations: 33.38 kB / 281.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.008976, allocations: 32.38 kB / 281.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.009235, allocations: 329.8 kB / 282.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.009245, allocations: 192 / 282.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.009266, allocations: 16.38 kB / 282.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.009275, allocations: 11.94 kB / 282.1 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.009383, allocations: 91.38 kB / 282.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009401/0.01032, allocations: 0.9801 MB / 283.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.01047, allocations: 113.2 kB / 283.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.01052, allocations: 49.62 kB / 283.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/0.0109, allocations: 0.4972 MB / 283.8 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.01092, allocations: 34.56 kB / 283.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 8.21e-07/0.01092, allocations: 4 kB / 283.9 MB, free: 9.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001634/0.01108, allocations: 113.5 kB / 284 MB, free: 9.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.01111, allocations: 81.11 kB / 284.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.01125, allocations: 270.9 kB / 284.3 MB, free: 9.293 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.01126, allocations: 33.7 kB / 284.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.01134, allocations: 220.5 kB / 284.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.01138, allocations: 67.42 kB / 284.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.01143, allocations: 65.95 kB / 284.7 MB, free: 8.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.0115, allocations: 342.7 kB / 285.1 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.01153, allocations: 24.64 kB / 285.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/0.01162, allocations: 170.3 kB / 285.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.01176, allocations: 220.5 kB / 285.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01176, allocations: 0 / 285.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001746/0.01194, allocations: 209.1 kB / 285.7 MB, free: 7.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.01195, allocations: 8 kB / 285.7 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01196, allocations: 7.984 kB / 285.7 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.01197, allocations: 8 kB / 285.7 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.01211, allocations: 76.41 kB / 285.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01212, allocations: 7.984 kB / 285.8 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.01221, allocations: 43.73 kB / 285.8 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.01222, allocations: 12 kB / 285.8 MB, free: 7.656 MB / 266.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 7e-05/0.01229, allocations: 133.6 kB / 286 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.01232, allocations: 27.97 kB / 286 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.01236, allocations: 29.8 kB / 286 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01236, allocations: 0 / 286 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01236, allocations: 0 / 286 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01236, allocations: 0 / 286 MB, free: 7.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.01263, allocations: 315.6 kB / 286.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01263, allocations: 0 / 286.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.972e-05/0.01273, allocations: 39.97 kB / 286.4 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01273, allocations: 4 kB / 286.4 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01274, allocations: 4 kB / 286.4 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01274, allocations: 4 kB / 286.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01275, allocations: 3.938 kB / 286.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.01292, allocations: 301.4 kB / 286.7 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.01294, allocations: 23.8 kB / 286.7 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01296, allocations: 4 kB / 286.7 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.01305, allocations: 20.05 kB / 286.7 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.01308, allocations: 11.98 kB / 286.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.01308, allocations: 7.938 kB / 286.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.04e-05/0.01314, allocations: 92.62 kB / 286.8 MB, free: 6.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01314, allocations: 0 / 286.8 MB, free: 6.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.01338, allocations: 87.78 kB / 286.9 MB, free: 6.512 MB / 266.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 9.08e-05/0.01347, allocations: 100.3 kB / 287 MB, free: 6.406 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.0136, allocations: 113.5 kB / 287.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.0136, allocations: 4 kB / 287.1 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.01365, allocations: 49.41 kB / 287.2 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.01385, allocations: 29.19 kB / 287.2 MB, free: 6.207 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.01459, allocations: 0.5874 MB / 287.8 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.01464, allocations: 96.09 kB / 287.9 MB, free: 5.469 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.01471, allocations: 30.97 kB / 287.9 MB, free: 5.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.0148, allocations: 95.36 kB / 288 MB, free: 5.344 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.0148, allocations: 0 / 288 MB, free: 5.344 MB / 266.7 MB Notification: Performance of Templates: time 0.004209/0.01901, allocations: 2.355 MB / 290.4 MB, free: 3.035 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] 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","",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.4614464309997857]