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.0009617/0.0009617, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009157/0.0009157, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.8928/0.8928, allocations: 177 MB / 204.8 MB, free: 5.574 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.633e-06/1.633e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.437e-05, allocations: 5.125 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002951/0.002966, allocations: 3.297 MB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.004502, allocations: 1.362 MB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.004653, allocations: 11.94 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.004966, allocations: 146.9 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007229/0.005689, allocations: 425.5 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.005956, allocations: 175.5 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000479/0.006435, allocations: 481.8 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.006599, allocations: 112.8 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.006896, allocations: 303.3 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.007103, allocations: 175.5 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.007143, allocations: 36 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.007365, allocations: 151.8 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.007412, allocations: 87.66 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.008e-05/0.007502, allocations: 135.6 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.007931, allocations: 410.5 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.007933, allocations: 4 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007934, allocations: 0 / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.007938, allocations: 4 kB / 280.2 MB, free: 10.14 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.0007992/0.008738, allocations: 0.7648 MB / 280.9 MB, free: 9.336 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.008769, allocations: 15.98 kB / 281 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003773/0.009146, allocations: 140.5 kB / 281.1 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.009397, allocations: 256.8 kB / 281.3 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.009415, allocations: 29.38 kB / 281.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.009455, allocations: 36.33 kB / 281.4 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.009805, allocations: 347.5 kB / 281.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.009815, allocations: 192 / 281.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.009838, allocations: 16.38 kB / 281.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.009848, allocations: 11.94 kB / 281.8 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.0101, allocations: 138.8 kB / 281.9 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.01118, allocations: 1.21 MB / 283.1 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.01138, allocations: 150.2 kB / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/0.01144, allocations: 59.34 kB / 283.3 MB, free: 6.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004546/0.0119, allocations: 0.7134 MB / 284 MB, free: 6.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.01192, allocations: 41.44 kB / 284.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 8.32e-07/0.01192, allocations: 0 / 284.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002309/0.01215, allocations: 153.7 kB / 284.2 MB, free: 5.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.01218, allocations: 89.09 kB / 284.3 MB, free: 5.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.01236, allocations: 338.3 kB / 284.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.01237, allocations: 33.7 kB / 284.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01248, allocations: 298.7 kB / 285 MB, free: 5.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.01251, allocations: 59.48 kB / 285 MB, free: 4.988 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.01258, allocations: 71.62 kB / 285.1 MB, free: 4.906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.01281, allocations: 0.5117 MB / 285.6 MB, free: 4.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.01286, allocations: 36.62 kB / 285.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.01298, allocations: 223.2 kB / 285.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.01318, allocations: 297 kB / 286.2 MB, free: 3.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01318, allocations: 4 kB / 286.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002488/0.01343, allocations: 265.5 kB / 286.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.01344, allocations: 8 kB / 286.4 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01345, allocations: 4 kB / 286.4 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.01346, allocations: 8 kB / 286.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.01362, allocations: 79.89 kB / 286.5 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.01362, allocations: 11.94 kB / 286.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.01372, allocations: 35.73 kB / 286.6 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01373, allocations: 16 kB / 286.6 MB, free: 3.246 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 8.888e-05/0.01382, allocations: 180.4 kB / 286.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.01386, allocations: 31.89 kB / 286.8 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.0139, allocations: 37.78 kB / 286.8 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.0139, allocations: 4 kB / 286.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.0139, allocations: 0 / 286.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01391, allocations: 0 / 286.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.01426, allocations: 464.8 kB / 287.3 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01426, allocations: 4 kB / 287.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.01437, allocations: 43.92 kB / 287.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.01437, allocations: 0 / 287.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01438, allocations: 12.02 kB / 287.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01438, allocations: 0 / 287.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.01438, allocations: 4 kB / 287.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.01464, allocations: 435.1 kB / 287.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.01467, allocations: 31.8 kB / 287.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.01469, allocations: 4 kB / 287.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.01478, allocations: 19.92 kB / 287.8 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.01481, allocations: 15.92 kB / 287.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.01482, allocations: 4 kB / 287.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.01493, allocations: 234.9 kB / 288.1 MB, free: 1.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01493, allocations: 0 / 288.1 MB, free: 1.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.01518, allocations: 83.78 kB / 288.2 MB, free: 1.586 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 8.128e-05/0.01526, allocations: 107.3 kB / 288.3 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.01543, allocations: 143.4 kB / 288.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01543, allocations: 0 / 288.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/0.01548, allocations: 51.61 kB / 288.4 MB, free: 1.273 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.01571, allocations: 34.09 kB / 288.5 MB, free: 1.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007602/0.01647, allocations: 0.6021 MB / 289.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.874e-05/0.01652, allocations: 92.3 kB / 289.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.729e-05/0.01659, allocations: 34.95 kB / 289.2 MB, free: 468 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.01663, allocations: 24.5 kB / 289.2 MB, free: 440 kB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01663, allocations: 0 / 289.2 MB, free: 440 kB / 266.7 MB Notification: Performance of Templates: time 0.004149/0.02078, allocations: 2.39 MB / 291.6 MB, free: 14.08 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.6165813482366502]