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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 105.8 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002177/0.002177, allocations: 197.9 kB / 23.48 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 50.73 kB / 345.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2315, allocations: 49.12 MB / 394.9 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007014/0.2385, allocations: 7.127 MB / 402.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003784/0.2423, allocations: 2.4 MB / 404.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006729/0.2429, allocations: 16.53 kB / 404.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.2442, allocations: 0.5186 MB / 405 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009007/0.2451, allocations: 404.1 kB / 405.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.2455, allocations: 207.8 kB / 405.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.2466, allocations: 1.204 MB / 406.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004779/0.2471, allocations: 347.4 kB / 407.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.2476, allocations: 460.8 kB / 407.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.2481, allocations: 499.8 kB / 408.1 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.2482, allocations: 113.6 kB / 408.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.2485, allocations: 157.7 kB / 408.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.2487, allocations: 225.8 kB / 408.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.2491, allocations: 0.5479 MB / 409.1 MB, free: 180 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.2507, allocations: 1.438 MB / 410.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2507, allocations: 0 / 410.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2507, allocations: 1.219 kB / 410.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.2507, allocations: 0 / 410.5 MB, free: 15.53 MB / 334.1 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.002085/0.2528, allocations: 1.276 MB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2529, allocations: 13.77 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004981/0.2534, allocations: 153.2 kB / 412 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.2544, allocations: 0.655 MB / 412.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.2545, allocations: 58.34 kB / 412.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2546, allocations: 80.31 kB / 412.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.2559, allocations: 0.7831 MB / 413.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.256, allocations: 6.516 kB / 413.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.256, allocations: 30.5 kB / 413.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.256, allocations: 23.8 kB / 413.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.2571, allocations: 0.5195 MB / 414.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/0.2613, allocations: 3.375 MB / 417.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.2618, allocations: 229.3 kB / 417.7 MB, free: 9.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.2621, allocations: 110.6 kB / 417.8 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2621, allocations: 3.781 kB / 417.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.2621, allocations: 35.97 kB / 417.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.322e-06/0.2621, allocations: 0 / 417.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002063/0.2642, allocations: 1.055 MB / 418.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.2643, allocations: 80.3 kB / 419 MB, free: 9.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.2653, allocations: 0.7367 MB / 419.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.2653, allocations: 30.89 kB / 419.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.2657, allocations: 0.5046 MB / 420.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.183e-05/0.2658, allocations: 117 kB / 420.4 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.266, allocations: 117.7 kB / 420.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.2662, allocations: 373.9 kB / 420.9 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.2665, allocations: 127.2 kB / 421 MB, free: 7.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.267, allocations: 419.4 kB / 421.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.2678, allocations: 0.5778 MB / 422 MB, free: 6.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2678, allocations: 2.031 kB / 422 MB, free: 6.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001155/0.269, allocations: 0.6176 MB / 422.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.269, allocations: 9.875 kB / 422.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.269, allocations: 10.31 kB / 422.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.2692, allocations: 35.12 kB / 422.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.2696, allocations: 141 kB / 422.8 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.2707, allocations: 1.391 MB / 424.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.2712, allocations: 33.86 kB / 424.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.2713, allocations: 30.12 kB / 424.3 MB, free: 4.633 MB / 334.1 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.0003329/0.2716, allocations: 236.6 kB / 424.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.2717, allocations: 74.44 kB / 424.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000677/0.2724, allocations: 322.2 kB / 424.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.2724, allocations: 6.531 kB / 424.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2724, allocations: 1.219 kB / 424.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2724, allocations: 0 / 424.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.2741, allocations: 1.096 MB / 426 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2741, allocations: 6.156 kB / 426 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.2743, allocations: 61.06 kB / 426 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-05/0.2744, allocations: 23.66 kB / 426.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.2744, allocations: 8.844 kB / 426.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.2755, allocations: 1.369 MB / 427.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2755, allocations: 1.281 kB / 427.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009142/0.2764, allocations: 0.5666 MB / 428 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.2767, allocations: 177.8 kB / 428.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.2767, allocations: 7.062 kB / 428.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.2771, allocations: 18.83 kB / 428.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.2771, allocations: 30.62 kB / 428.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2772, allocations: 11.06 kB / 428.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006904/0.2778, allocations: 0.5027 MB / 428.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2778, allocations: 0 / 428.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007125/0.2786, allocations: 164.4 kB / 428.9 MB, free: 0.8242 MB / 334.1 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.0002123/0.2788, allocations: 119.1 kB / 429 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008881/0.2797, allocations: 452.9 kB / 429.5 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2797, allocations: 0 / 429.5 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.28, allocations: 226.5 kB / 429.7 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009085/0.2809, allocations: 187.9 kB / 429.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.2834, allocations: 1.482 MB / 431.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.284, allocations: 0.941 MB / 432.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.2841, allocations: 51.44 kB / 432.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2841, allocations: 0 / 432.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of Templates: time 0.01881/0.3029, allocations: 13.54 MB / 445.9 MB, free: 15.69 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/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/jenkins1/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