Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001867/0.001867, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002048/0.002048, allocations: 167.4 kB / 25.03 MB, free: 8.41 MB / 18.57 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 1.424/1.424, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.338e-06/4.338e-06, allocations: 4 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.407e-05, allocations: 2.312 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01114/0.01117, allocations: 7.03 MB / 257.4 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005498/0.01667, allocations: 2.322 MB / 259.7 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008934/0.01756, allocations: 27.88 kB / 259.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.01911, allocations: 484.9 kB / 260.2 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.02032, allocations: 428.7 kB / 260.6 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.0208, allocations: 203.8 kB / 260.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.02246, allocations: 1.259 MB / 262.1 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006197/0.02308, allocations: 312.5 kB / 262.4 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.02417, allocations: 0.6976 MB / 263.1 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006049/0.02477, allocations: 394.8 kB / 263.5 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.02494, allocations: 116 kB / 263.6 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.02529, allocations: 155.9 kB / 263.8 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.02565, allocations: 235.1 kB / 264 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.02616, allocations: 383.1 kB / 264.4 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.02828, allocations: 1.437 MB / 265.8 MB, free: 8.293 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.02828, allocations: 0 / 265.8 MB, free: 8.293 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.02829, allocations: 0 / 265.8 MB, free: 8.293 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.0283, allocations: 0 / 265.8 MB, free: 8.293 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002631/0.03093, allocations: 1.387 MB / 267.2 MB, free: 6.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.03098, allocations: 15.98 kB / 267.2 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006061/0.03159, allocations: 212.2 kB / 267.4 MB, free: 6.645 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.03271, allocations: 0.6137 MB / 268 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/0.03277, allocations: 58.38 kB / 268.1 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.0329, allocations: 80.38 kB / 268.2 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.03444, allocations: 0.8874 MB / 269 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.03448, allocations: 8.141 kB / 269.1 MB, free: 4.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.03456, allocations: 35.94 kB / 269.1 MB, free: 4.887 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.03458, allocations: 20 kB / 269.1 MB, free: 4.867 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.03563, allocations: 0.4919 MB / 269.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0058/0.04143, allocations: 3.979 MB / 273.6 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.04195, allocations: 223 kB / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.0422, allocations: 111.5 kB / 273.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.04224, allocations: 7.984 kB / 273.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.04228, allocations: 49.39 kB / 274 MB, free: 15.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.04228, allocations: 0 / 274 MB, free: 15.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.002131/0.04442, allocations: 0.8775 MB / 274.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.0445, allocations: 85.05 kB / 274.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.04576, allocations: 0.8781 MB / 275.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.04579, allocations: 33.7 kB / 275.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/0.04639, allocations: 0.6035 MB / 276.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.04651, allocations: 119.1 kB / 276.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.04672, allocations: 139.9 kB / 276.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004167/0.04714, allocations: 0.5938 MB / 277.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.0474, allocations: 113.3 kB / 277.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/0.04813, allocations: 0.5656 MB / 278 MB, free: 11.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.04926, allocations: 0.6971 MB / 278.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.04927, allocations: 4 kB / 278.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001186/0.05045, allocations: 0.6221 MB / 279.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.05048, allocations: 8 kB / 279.3 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.0505, allocations: 11.94 kB / 279.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.05069, allocations: 43.61 kB / 279.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.05114, allocations: 131.8 kB / 279.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.05273, allocations: 1.783 MB / 281.3 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.05318, allocations: 31.94 kB / 281.3 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.05322, allocations: 32 kB / 281.3 MB, free: 7.758 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004343/0.05366, allocations: 292.2 kB / 281.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.05379, allocations: 71.58 kB / 281.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/0.05444, allocations: 303.8 kB / 282 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.05445, allocations: 4 kB / 282 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.05445, allocations: 0 / 282 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.05445, allocations: 0 / 282 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.05642, allocations: 1.175 MB / 283.1 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.05643, allocations: 4 kB / 283.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.05669, allocations: 64.02 kB / 283.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.0568, allocations: 27.67 kB / 283.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.05682, allocations: 4 kB / 283.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.05839, allocations: 1.775 MB / 285 MB, free: 3.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.05839, allocations: 4 kB / 285 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.05952, allocations: 0.6074 MB / 285.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.05979, allocations: 87.53 kB / 285.7 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.05986, allocations: 8 kB / 285.7 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.06016, allocations: 19.92 kB / 285.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.06026, allocations: 27.91 kB / 285.8 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.06029, allocations: 15.98 kB / 285.8 MB, free: 3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008193/0.06111, allocations: 0.538 MB / 286.3 MB, free: 2.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06111, allocations: 0 / 286.3 MB, free: 2.469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007151/0.06182, allocations: 160 kB / 286.5 MB, free: 2.312 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0002262/0.06205, allocations: 111.2 kB / 286.6 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.06311, allocations: 0.5384 MB / 287.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.06311, allocations: 0 / 287.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.06354, allocations: 306.4 kB / 287.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009441/0.06449, allocations: 177.9 kB / 287.6 MB, free: 1.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.06717, allocations: 1.39 MB / 289 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.06761, allocations: 348.5 kB / 289.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003677/0.06797, allocations: 77.48 kB / 289.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.06814, allocations: 44.5 kB / 289.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of SimCode: time 2.404e-06/0.06814, allocations: 4 kB / 289.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of Templates: time 0.01853/0.08668, allocations: 7.983 MB / 297.4 MB, free: 7.254 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.829697997076437]