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.0009863/0.0009863, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001051/0.001051, allocations: 165.6 kB / 24.82 MB, free: 9.324 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.9798/0.9798, allocations: 177 MB / 205.1 MB, free: 5.477 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 2.024e-06/2.024e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.937e-05, allocations: 5.266 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003047/0.003066, allocations: 3.254 MB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.004939, allocations: 1.351 MB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.005138, allocations: 11.94 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.005445, allocations: 143 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006667/0.006111, allocations: 417.5 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.006359, allocations: 183.5 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.006825, allocations: 477.8 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.00702, allocations: 104.8 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.007327, allocations: 299.3 kB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.007541, allocations: 179.6 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.007585, allocations: 39.94 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.007817, allocations: 155.7 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.007863, allocations: 75.67 kB / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.891e-05/0.007961, allocations: 143.6 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.008612, allocations: 414.5 kB / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.008614, allocations: 0 / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.008614, allocations: 0 / 280.5 MB, free: 10 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.008617, allocations: 0 / 280.5 MB, free: 10 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.0007804/0.009398, allocations: 0.7726 MB / 281.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.00943, allocations: 11.98 kB / 281.3 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/0.009796, allocations: 144.5 kB / 281.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.01002, allocations: 252.8 kB / 281.7 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.01004, allocations: 29.31 kB / 281.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.01008, allocations: 40.33 kB / 281.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.01037, allocations: 323.5 kB / 282.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.01038, allocations: 4.188 kB / 282.1 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.0104, allocations: 12.38 kB / 282.1 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.01041, allocations: 11.94 kB / 282.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.01053, allocations: 103.3 kB / 282.2 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.01159, allocations: 1.226 MB / 283.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.01177, allocations: 146.2 kB / 283.6 MB, free: 6.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.01182, allocations: 43.36 kB / 283.6 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004529/0.01227, allocations: 0.729 MB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.01229, allocations: 49.31 kB / 284.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.01229, allocations: 0 / 284.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003735/0.01267, allocations: 141.4 kB / 284.5 MB, free: 5.742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.01271, allocations: 77.11 kB / 284.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.01292, allocations: 338.1 kB / 284.9 MB, free: 5.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01294, allocations: 29.64 kB / 285 MB, free: 5.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.0131, allocations: 294.7 kB / 285.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.01316, allocations: 67.45 kB / 285.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/0.01325, allocations: 75.61 kB / 285.4 MB, free: 4.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.01341, allocations: 0.5156 MB / 285.9 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.01347, allocations: 28.62 kB / 285.9 MB, free: 4.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.01363, allocations: 222.9 kB / 286.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.01384, allocations: 265.5 kB / 286.4 MB, free: 3.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01384, allocations: 0 / 286.4 MB, free: 3.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002504/0.01409, allocations: 248.6 kB / 286.7 MB, free: 3.375 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.0141, allocations: 8 kB / 286.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01411, allocations: 4.562 kB / 286.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.01412, allocations: 8 kB / 286.7 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.01431, allocations: 87.83 kB / 286.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01431, allocations: 8 kB / 286.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.01442, allocations: 35.73 kB / 286.8 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01443, allocations: 12 kB / 286.8 MB, free: 3.215 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 0.0001016/0.01454, allocations: 192.3 kB / 287 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.01458, allocations: 35.84 kB / 287 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.01462, allocations: 29.8 kB / 287.1 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01463, allocations: 0 / 287.1 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01463, allocations: 8 kB / 287.1 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01463, allocations: 0 / 287.1 MB, free: 2.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.01504, allocations: 401.8 kB / 287.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01504, allocations: 0 / 287.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01516, allocations: 47.97 kB / 287.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01517, allocations: 0 / 287.5 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.01518, allocations: 4 kB / 287.5 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01518, allocations: 4 kB / 287.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01518, allocations: 0 / 287.5 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.01543, allocations: 449.7 kB / 288 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.01546, allocations: 23.81 kB / 288 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.01548, allocations: 8 kB / 288 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.01561, allocations: 15.98 kB / 288 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.01564, allocations: 11.92 kB / 288 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.01565, allocations: 7.984 kB / 288 MB, free: 1.926 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.01576, allocations: 214.9 kB / 288.2 MB, free: 1.719 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01576, allocations: 0 / 288.2 MB, free: 1.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.01605, allocations: 83.78 kB / 288.3 MB, free: 1.637 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 0.0001166/0.01616, allocations: 111.2 kB / 288.4 MB, free: 1.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01632, allocations: 136 kB / 288.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01632, allocations: 0 / 288.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.01636, allocations: 51.59 kB / 288.6 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.01663, allocations: 24.97 kB / 288.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000871/0.0175, allocations: 0.5989 MB / 289.2 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.355e-05/0.01755, allocations: 92.3 kB / 289.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.679e-05/0.01763, allocations: 34.95 kB / 289.4 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.01779, allocations: 106.2 kB / 289.5 MB, free: 428 kB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01779, allocations: 3.938 kB / 289.5 MB, free: 424 kB / 266.7 MB Notification: Performance of Templates: time 0.004409/0.0222, allocations: 2.426 MB / 291.9 MB, free: 14.04 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 -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.559358375146985]