Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.001324/0.001324, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002198/0.003522, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001295/0.001295, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001789/0.003084, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9437/0.9437, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1542/1.098, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.67e-05, allocations: 2.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01087/0.0109, allocations: 7.914 MB / 229.9 MB, free: 8.086 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006037/0.01693, allocations: 2.716 MB / 232.6 MB, free: 5.359 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.01853, allocations: 27.88 kB / 232.7 MB, free: 5.332 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.02014, allocations: 0.5401 MB / 233.2 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.02196, allocations: 0.5116 MB / 233.7 MB, free: 4.273 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005697/0.02253, allocations: 255.6 kB / 234 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.02429, allocations: 1.538 MB / 235.5 MB, free: 2.48 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005643/0.02486, allocations: 387.2 kB / 235.9 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.02608, allocations: 0.9811 MB / 236.9 MB, free: 1.09 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.02665, allocations: 482.5 kB / 237.3 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.02678, allocations: 132 kB / 237.5 MB, free: 500 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.02711, allocations: 175.9 kB / 237.6 MB, free: 324 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.02726, allocations: 211.3 kB / 237.8 MB, free: 112 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.02758, allocations: 395.3 kB / 238.2 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.02862, allocations: 0.8717 MB / 239.1 MB, free: 14.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.281e-05/0.02865, allocations: 4 kB / 239.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.02865, allocations: 4 kB / 239.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.02868, allocations: 0 / 239.1 MB, free: 14.84 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001875/0.03055, allocations: 1.616 MB / 240.7 MB, free: 13.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.0306, allocations: 12.03 kB / 240.7 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005636/0.03117, allocations: 305.8 kB / 241 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.03199, allocations: 0.5293 MB / 241.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.03204, allocations: 74 kB / 241.6 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.03215, allocations: 107.9 kB / 241.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/0.03296, allocations: 0.7731 MB / 242.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.03299, allocations: 4 kB / 242.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.03303, allocations: 44 kB / 242.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.03305, allocations: 24 kB / 242.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.03336, allocations: 237.8 kB / 242.8 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.03638, allocations: 2.954 MB / 245.8 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.03671, allocations: 219.5 kB / 246 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.03695, allocations: 169.4 kB / 246.1 MB, free: 7.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.03699, allocations: 8.328 kB / 246.1 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.03703, allocations: 38.83 kB / 246.2 MB, free: 7.406 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 4.077e-06/0.03703, allocations: 4 kB / 246.2 MB, free: 7.402 MB / 250.7 MB Notification: Performance of matching and sorting (n=44): time 0.001432/0.03846, allocations: 0.7659 MB / 247 MB, free: 6.602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.0385, allocations: 63.28 kB / 247 MB, free: 6.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005229/0.03902, allocations: 0.6535 MB / 247.7 MB, free: 5.863 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.03905, allocations: 37.7 kB / 247.7 MB, free: 5.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.03929, allocations: 0.4927 MB / 248.2 MB, free: 5.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.03939, allocations: 170.5 kB / 248.4 MB, free: 5.152 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.03952, allocations: 134.5 kB / 248.5 MB, free: 5.016 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.03966, allocations: 390.6 kB / 248.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.03973, allocations: 57.97 kB / 248.9 MB, free: 4.566 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.03998, allocations: 389.7 kB / 249.3 MB, free: 4.043 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.04039, allocations: 0.5216 MB / 249.8 MB, free: 3.387 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.04039, allocations: 4 kB / 249.8 MB, free: 3.383 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005013/0.04089, allocations: 482.5 kB / 250.3 MB, free: 2.902 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.04092, allocations: 16 kB / 250.3 MB, free: 2.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.04094, allocations: 11.94 kB / 250.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002232/0.04116, allocations: 73.66 kB / 250.4 MB, free: 2.797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.04149, allocations: 171.8 kB / 250.6 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.04304, allocations: 2.6 MB / 253.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.04334, allocations: 32.05 kB / 253.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.04337, allocations: 28 kB / 253.2 MB, free: 15.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.04357, allocations: 165.5 kB / 253.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.04364, allocations: 63.92 kB / 253.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.044, allocations: 298.6 kB / 253.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.044, allocations: 4 kB / 253.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.04401, allocations: 0 / 253.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.04401, allocations: 0 / 253.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.04492, allocations: 0.7673 MB / 254.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.04493, allocations: 4 kB / 254.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.04512, allocations: 75.89 kB / 254.6 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.04525, allocations: 71.48 kB / 254.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/0.04539, allocations: 65.88 kB / 254.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.04541, allocations: 8 kB / 254.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.04674, allocations: 2.592 MB / 257.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.04675, allocations: 7.938 kB / 257.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.04722, allocations: 486.2 kB / 257.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.04727, allocations: 12 kB / 257.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.04745, allocations: 19.98 kB / 257.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.04751, allocations: 39.81 kB / 257.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.04753, allocations: 12 kB / 257.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000283/0.04781, allocations: 319.3 kB / 258.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.04781, allocations: 4 kB / 258.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006131/0.04842, allocations: 204 kB / 258.4 MB, free: 10.31 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.04863, allocations: 88.36 kB / 258.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005767/0.04921, allocations: 0.5444 MB / 259 MB, free: 9.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.84e-05/0.04923, allocations: 24.38 kB / 259.1 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.04958, allocations: 386.3 kB / 259.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.05087, allocations: 2.054 MB / 261.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009215/0.06008, allocations: 1.741 MB / 263.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.06025, allocations: 179.3 kB / 263.4 MB, free: 4.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003717/0.06062, allocations: 98.62 kB / 263.5 MB, free: 4.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/0.06095, allocations: 229.2 kB / 263.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of SimCode: time 2.806e-06/0.06096, allocations: 0 / 263.7 MB, free: 4.434 MB / 266.7 MB Notification: Performance of Templates: time 0.01656/0.07752, allocations: 11.11 MB / 274.8 MB, free: 9.344 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0518907215446234]