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.00144/0.00144, allocations: 84.86 kB / 21.5 MB, free: 2.984 MB / 18.57 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.00175/0.00175, allocations: 163.6 kB / 24.91 MB, free: 9.195 MB / 18.57 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 0.9084/0.9084, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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 1.222e-06/1.222e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.257e-05, allocations: 2.312 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003262/0.003285, allocations: 3.304 MB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.004966, allocations: 1.385 MB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.005111, allocations: 11.94 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.005422, allocations: 155 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006399/0.006062, allocations: 417.4 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.006315, allocations: 179.5 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.006761, allocations: 473.8 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.006912, allocations: 117.5 kB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.007163, allocations: 311.3 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.007349, allocations: 175.5 kB / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.007387, allocations: 32 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.007622, allocations: 167.7 kB / 280.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.007667, allocations: 83.61 kB / 280.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.374e-05/0.007751, allocations: 135.7 kB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.008131, allocations: 410.5 kB / 280.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.008132, allocations: 0 / 280.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.008133, allocations: 0 / 280.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.008138, allocations: 0 / 280.7 MB, free: 9.84 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.0007642/0.008902, allocations: 0.6595 MB / 281.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.008931, allocations: 15.98 kB / 281.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.00933, allocations: 132.7 kB / 281.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.009548, allocations: 218 kB / 281.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.009566, allocations: 33.31 kB / 281.8 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.009599, allocations: 32.38 kB / 281.8 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.009863, allocations: 325.8 kB / 282.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.009873, allocations: 192 / 282.1 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.009892, allocations: 16.38 kB / 282.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.009901, allocations: 11.94 kB / 282.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.01, allocations: 79.45 kB / 282.2 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/0.01095, allocations: 0.9802 MB / 283.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.0111, allocations: 125.1 kB / 283.3 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.01114, allocations: 45.69 kB / 283.4 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003858/0.01153, allocations: 0.4972 MB / 283.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.01155, allocations: 34.56 kB / 283.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.01155, allocations: 7.938 kB / 283.9 MB, free: 6.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001674/0.01172, allocations: 106 kB / 284 MB, free: 6.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.01175, allocations: 85.05 kB / 284.1 MB, free: 6.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.01189, allocations: 270.9 kB / 284.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.0119, allocations: 37.64 kB / 284.4 MB, free: 5.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.01198, allocations: 224.5 kB / 284.6 MB, free: 5.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.01201, allocations: 63.47 kB / 284.7 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.01208, allocations: 65.95 kB / 284.7 MB, free: 5.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.01215, allocations: 338.7 kB / 285.1 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.01218, allocations: 24.64 kB / 285.1 MB, free: 5.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-05/0.01227, allocations: 166.4 kB / 285.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.01242, allocations: 224.8 kB / 285.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01242, allocations: 0 / 285.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001813/0.0126, allocations: 208.8 kB / 285.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.01261, allocations: 8 kB / 285.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01262, allocations: 4 kB / 285.7 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01263, allocations: 11.98 kB / 285.7 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.01282, allocations: 87.67 kB / 285.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.01283, allocations: 15.92 kB / 285.8 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.01292, allocations: 39.73 kB / 285.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.01293, allocations: 11.94 kB / 285.9 MB, free: 4.324 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 7.276e-05/0.013, allocations: 137.7 kB / 286 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.01304, allocations: 23.97 kB / 286 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.01308, allocations: 25.8 kB / 286 MB, free: 4.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01308, allocations: 7.938 kB / 286 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01308, allocations: 0 / 286 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01308, allocations: 0 / 286 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.01336, allocations: 303.4 kB / 286.3 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.01336, allocations: 0 / 286.3 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.01348, allocations: 52.22 kB / 286.4 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01349, allocations: 4 kB / 286.4 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.0135, allocations: 7.984 kB / 286.4 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.0135, allocations: 0 / 286.4 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.0135, allocations: 4 kB / 286.4 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.01369, allocations: 303.4 kB / 286.7 MB, free: 3.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.01371, allocations: 27.8 kB / 286.7 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.01373, allocations: 12.06 kB / 286.7 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.01382, allocations: 8 kB / 286.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.01385, allocations: 19.91 kB / 286.8 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.01385, allocations: 4 kB / 286.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.037e-05/0.01391, allocations: 92.62 kB / 286.9 MB, free: 3.246 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01391, allocations: 0 / 286.9 MB, free: 3.246 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.01415, allocations: 87.78 kB / 286.9 MB, free: 3.16 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.723e-05/0.01424, allocations: 96.34 kB / 287 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.01438, allocations: 117.6 kB / 287.2 MB, free: 2.941 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.01439, allocations: 8.125 kB / 287.2 MB, free: 2.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.269e-05/0.01444, allocations: 56.64 kB / 287.2 MB, free: 2.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.01464, allocations: 28.47 kB / 287.2 MB, free: 2.852 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007519/0.01539, allocations: 0.5794 MB / 287.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.016e-05/0.01544, allocations: 88.31 kB / 287.9 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.536e-05/0.01552, allocations: 38.95 kB / 288 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.01561, allocations: 91.36 kB / 288 MB, free: 2 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01561, allocations: 3.938 kB / 288 MB, free: 1.996 MB / 266.7 MB Notification: Performance of Templates: time 0.004147/0.01975, allocations: 2.444 MB / 290.5 MB, free: 15.59 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.426222274079919]