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.001417/0.001417, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.002047/0.002047, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 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.574/1.574, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 55.92 kB / 347.7 MB, free: 9.629 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3326, allocations: 49.16 MB / 396.9 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.008849/0.3414, allocations: 7.162 MB / 404 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004494/0.3459, allocations: 2.405 MB / 406.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005833/0.3465, allocations: 19.78 kB / 406.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.3479, allocations: 0.5142 MB / 407 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008566/0.3487, allocations: 410 kB / 407.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.3491, allocations: 206.8 kB / 407.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.3504, allocations: 1.201 MB / 408.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.3509, allocations: 347.6 kB / 409.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006416/0.3516, allocations: 478.7 kB / 409.6 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006167/0.3522, allocations: 0.4917 MB / 410.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.3523, allocations: 116.4 kB / 410.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.3526, allocations: 149.9 kB / 410.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.3528, allocations: 227.8 kB / 410.5 MB, free: 384 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004543/0.3533, allocations: 0.5444 MB / 411.1 MB, free: 28 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.3552, allocations: 1.437 MB / 412.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3552, allocations: 0 / 412.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3552, allocations: 1.25 kB / 412.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.3552, allocations: 0 / 412.5 MB, free: 15.23 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.002376/0.3576, allocations: 1.201 MB / 413.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3577, allocations: 12.7 kB / 413.7 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005602/0.3582, allocations: 158.1 kB / 413.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.3594, allocations: 0.5772 MB / 414.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.3595, allocations: 58.41 kB / 414.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.3596, allocations: 87.67 kB / 414.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.361, allocations: 0.7722 MB / 415.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.361, allocations: 14.34 kB / 415.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/0.3611, allocations: 34.78 kB / 415.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.3611, allocations: 23.88 kB / 415.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.3622, allocations: 0.5103 MB / 416 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00478/0.367, allocations: 3.279 MB / 419.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.3676, allocations: 217.7 kB / 419.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002769/0.3678, allocations: 114.8 kB / 419.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.3679, allocations: 7.422 kB / 419.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.3679, allocations: 31.69 kB / 419.6 MB, free: 9.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/0.3679, allocations: 5.031 kB / 419.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.002419/0.3703, allocations: 0.9131 MB / 420.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.3704, allocations: 79.7 kB / 420.6 MB, free: 9.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3716, allocations: 0.7337 MB / 421.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.3716, allocations: 31.92 kB / 421.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000481/0.3721, allocations: 0.508 MB / 421.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.842e-05/0.3722, allocations: 104.3 kB / 422 MB, free: 8.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.3724, allocations: 113.8 kB / 422.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.3726, allocations: 381.9 kB / 422.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.3729, allocations: 123.5 kB / 422.6 MB, free: 7.672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.3735, allocations: 415 kB / 423 MB, free: 7.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009204/0.3744, allocations: 0.5736 MB / 423.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.3744, allocations: 6.688 kB / 423.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001266/0.3756, allocations: 0.6107 MB / 424.2 MB, free: 6.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.3757, allocations: 8.812 kB / 424.2 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.3757, allocations: 14.44 kB / 424.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.3759, allocations: 35.28 kB / 424.2 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.3764, allocations: 136.6 kB / 424.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.3776, allocations: 1.286 MB / 425.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006434/0.3783, allocations: 33.58 kB / 425.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.3783, allocations: 33.38 kB / 425.7 MB, free: 4.961 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.0004672/0.3788, allocations: 237 kB / 426 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.3789, allocations: 77.12 kB / 426 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007496/0.3797, allocations: 327.1 kB / 426.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3797, allocations: 2.844 kB / 426.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3797, allocations: 1.156 kB / 426.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3797, allocations: 7.984 kB / 426.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.3818, allocations: 1.064 MB / 427.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.3818, allocations: 6.797 kB / 427.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.3821, allocations: 59.81 kB / 427.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.3822, allocations: 20.19 kB / 427.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.3822, allocations: 8.312 kB / 427.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.3833, allocations: 1.267 MB / 428.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3833, allocations: 1.219 kB / 428.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3844, allocations: 0.5615 MB / 429.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.3847, allocations: 103.5 kB / 429.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/0.3848, allocations: 8 kB / 429.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.3851, allocations: 19.98 kB / 429.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.3852, allocations: 35.83 kB / 429.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3853, allocations: 8 kB / 429.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008154/0.3861, allocations: 0.4991 MB / 430 MB, free: 1.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3861, allocations: 0 / 430 MB, free: 1.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009614/0.387, allocations: 163.9 kB / 430.2 MB, free: 0.9844 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.0002513/0.3873, allocations: 119.1 kB / 430.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.3884, allocations: 443.4 kB / 430.7 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3884, allocations: 0 / 430.7 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.3888, allocations: 232 kB / 431 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009815/0.3898, allocations: 199 kB / 431.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.3928, allocations: 1.45 MB / 432.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.3936, allocations: 0.9372 MB / 433.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003404/0.3939, allocations: 86.03 kB / 433.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.394, allocations: 51.42 kB / 433.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.394, allocations: 3.938 kB / 433.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of Templates: time 0.02062/0.4146, allocations: 8.681 MB / 442.4 MB, free: 4.676 MB / 350.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/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: 5.254590831929818]