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.0006993/0.0006993, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.001899, allocations: 445.7 kB / 10.37 MB, free: 328 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.0009022/0.0009022, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.002092, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8978/0.8978, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1479/1.046, allocations: 49.49 MB / 220.6 MB, free: 1.449 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.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 1.503e-06/1.503e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.521e-05, allocations: 2.312 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006879/0.006894, allocations: 7.018 MB / 228.9 MB, free: 9.102 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.009327, allocations: 2.411 MB / 231.3 MB, free: 6.676 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.009594, allocations: 19.94 kB / 231.3 MB, free: 6.656 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006918/0.01029, allocations: 0.489 MB / 231.8 MB, free: 6.164 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.01074, allocations: 428.7 kB / 232.2 MB, free: 5.742 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.01096, allocations: 211.6 kB / 232.4 MB, free: 5.535 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007396/0.0117, allocations: 1.249 MB / 233.7 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.01203, allocations: 332.5 kB / 234 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006165/0.01265, allocations: 0.829 MB / 234.8 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.01296, allocations: 382.8 kB / 235.2 MB, free: 2.727 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.01309, allocations: 112 kB / 235.3 MB, free: 2.617 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.01335, allocations: 152 kB / 235.4 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.01347, allocations: 175.4 kB / 235.6 MB, free: 2.297 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.01371, allocations: 319.4 kB / 235.9 MB, free: 1.984 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.01431, allocations: 0.7277 MB / 236.7 MB, free: 1.254 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/0.01432, allocations: 0 / 236.7 MB, free: 1.254 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01432, allocations: 4 kB / 236.7 MB, free: 1.25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.01433, allocations: 4 kB / 236.7 MB, free: 1.246 MB / 234.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.001144/0.01548, allocations: 1.364 MB / 238 MB, free: 15.85 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.01551, allocations: 12.03 kB / 238 MB, free: 15.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.01581, allocations: 249.9 kB / 238.3 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.01631, allocations: 470.5 kB / 238.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.01634, allocations: 62.38 kB / 238.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.01641, allocations: 84.33 kB / 238.9 MB, free: 14.94 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.01692, allocations: 0.6112 MB / 239.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.01694, allocations: 4.188 kB / 239.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.01697, allocations: 31.94 kB / 239.5 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.01698, allocations: 23.94 kB / 239.6 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.01722, allocations: 205.8 kB / 239.8 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.01921, allocations: 2.605 MB / 242.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.01941, allocations: 130.5 kB / 242.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.01946, allocations: 44.84 kB / 242.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.01948, allocations: 4.438 kB / 242.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.0195, allocations: 34.56 kB / 242.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 1.183e-06/0.0195, allocations: 0 / 242.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007878/0.02029, allocations: 0.5469 MB / 243.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.02032, allocations: 51.41 kB / 243.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.02076, allocations: 0.6028 MB / 243.8 MB, free: 9.758 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.02078, allocations: 33.7 kB / 243.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.02099, allocations: 448.5 kB / 244.2 MB, free: 9.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.02104, allocations: 107.1 kB / 244.3 MB, free: 9.168 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.02114, allocations: 118.2 kB / 244.5 MB, free: 9.047 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.02127, allocations: 374.6 kB / 244.8 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.02133, allocations: 49.22 kB / 244.9 MB, free: 8.621 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.02155, allocations: 363.9 kB / 245.2 MB, free: 8.125 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.02187, allocations: 461.2 kB / 245.7 MB, free: 7.539 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.02187, allocations: 4 kB / 245.7 MB, free: 7.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003764/0.02225, allocations: 398.4 kB / 246.1 MB, free: 7.137 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.02227, allocations: 8 kB / 246.1 MB, free: 7.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.02228, allocations: 12 kB / 246.1 MB, free: 7.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.0224, allocations: 32.78 kB / 246.1 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.02269, allocations: 155.8 kB / 246.3 MB, free: 6.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006641/0.02336, allocations: 1.186 MB / 247.5 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.02355, allocations: 31.95 kB / 247.5 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.02357, allocations: 24 kB / 247.5 MB, free: 5.598 MB / 250.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.000132/0.0237, allocations: 153.5 kB / 247.7 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.02375, allocations: 52 kB / 247.7 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.02395, allocations: 192.9 kB / 247.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.02395, allocations: 0 / 247.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.02396, allocations: 4 kB / 247.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.02396, allocations: 7.922 kB / 247.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.02457, allocations: 0.587 MB / 248.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.02457, allocations: 4 kB / 248.5 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.02472, allocations: 68.11 kB / 248.6 MB, free: 4.465 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.02481, allocations: 63.53 kB / 248.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.944e-05/0.02486, allocations: 20.84 kB / 248.7 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.02488, allocations: 8 kB / 248.7 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004693/0.02534, allocations: 1.162 MB / 249.8 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.02535, allocations: 3.938 kB / 249.8 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.0256, allocations: 351.2 kB / 250.2 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.02564, allocations: 11.98 kB / 250.2 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.02576, allocations: 12 kB / 250.2 MB, free: 2.715 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.0258, allocations: 23.95 kB / 250.2 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.02581, allocations: 8 kB / 250.2 MB, free: 2.684 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.02602, allocations: 279.3 kB / 250.5 MB, free: 2.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02602, allocations: 4.031 kB / 250.5 MB, free: 2.406 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.02635, allocations: 160 kB / 250.7 MB, free: 2.25 MB / 250.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.0001438/0.0265, allocations: 104.3 kB / 250.8 MB, free: 2.137 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.02684, allocations: 353.5 kB / 251.1 MB, free: 1.781 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.061e-05/0.02686, allocations: 12.5 kB / 251.1 MB, free: 1.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.02699, allocations: 192.3 kB / 251.3 MB, free: 1.566 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.02744, allocations: 220.7 kB / 251.5 MB, free: 1.355 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/0.03485, allocations: 1.395 MB / 252.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.479e-05/0.03494, allocations: 150.1 kB / 253.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.03512, allocations: 81.56 kB / 253.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.03536, allocations: 193.2 kB / 253.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.03536, allocations: 0 / 253.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Templates: time 0.01203/0.04739, allocations: 9.073 MB / 262.4 MB, free: 6.414 MB / 266.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 -ignoreHideResult -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","",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.651845962740481]