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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 183.9 kB / 24.47 MB, free: 4.074 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.739/1.739, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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.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: 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.001786/0.001786, allocations: 52.39 kB / 347.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3271, allocations: 49.15 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.0085/0.3356, allocations: 8.104 MB / 404.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004698/0.3402, allocations: 2.687 MB / 407.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.3416, allocations: 27.31 kB / 407.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.3435, allocations: 0.5872 MB / 408.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.3455, allocations: 0.4888 MB / 408.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.3462, allocations: 257 kB / 409 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.3479, allocations: 1.466 MB / 410.4 MB, free: 124 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007084/0.3486, allocations: 405.9 kB / 410.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.3498, allocations: 0.5741 MB / 411.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009173/0.3507, allocations: 0.5974 MB / 412 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.3509, allocations: 138.8 kB / 412.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005907/0.3515, allocations: 174.7 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003318/0.3519, allocations: 281.4 kB / 412.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009252/0.3528, allocations: 0.662 MB / 413.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.3556, allocations: 1.73 MB / 415 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3556, allocations: 0 / 415 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3556, allocations: 0 / 415 MB, free: 13.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.554e-05/0.3557, allocations: 4 kB / 415 MB, free: 13.39 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00326/0.359, allocations: 1.41 MB / 416.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.359, allocations: 12.8 kB / 416.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007267/0.3597, allocations: 194.8 kB / 416.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.3613, allocations: 0.6805 MB / 417.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.3613, allocations: 69.62 kB / 417.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.3615, allocations: 103.8 kB / 417.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.3633, allocations: 0.931 MB / 418.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.3633, allocations: 10.08 kB / 418.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.203e-05/0.3634, allocations: 41.22 kB / 418.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.3635, allocations: 23.5 kB / 418.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.3648, allocations: 0.6387 MB / 419.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006494/0.3713, allocations: 3.776 MB / 422.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007013/0.372, allocations: 340.3 kB / 423.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.3726, allocations: 248.7 kB / 423.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.3726, allocations: 4.203 kB / 423.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.3726, allocations: 37.42 kB / 423.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.804e-06/0.3727, allocations: 0 / 423.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.003353/0.376, allocations: 1.272 MB / 424.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.3761, allocations: 81.89 kB / 424.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.3774, allocations: 0.83 MB / 425.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.3775, allocations: 32.3 kB / 425.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005389/0.378, allocations: 0.5689 MB / 426.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.3782, allocations: 166.7 kB / 426.4 MB, free: 5.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.3784, allocations: 137.1 kB / 426.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.3786, allocations: 331.6 kB / 426.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.379, allocations: 163.2 kB / 427 MB, free: 4.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006956/0.3797, allocations: 468.3 kB / 427.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.3807, allocations: 0.6624 MB / 428.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3807, allocations: 4 kB / 428.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00148/0.3822, allocations: 0.7636 MB / 428.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3822, allocations: 8 kB / 428.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.3823, allocations: 12 kB / 428.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.3826, allocations: 85.61 kB / 429 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.3831, allocations: 151.7 kB / 429.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.3862, allocations: 2.935 MB / 432.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.3869, allocations: 31.98 kB / 432.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.387, allocations: 36 kB / 432.2 MB, free: 15.07 MB / 350.1 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.0005362/0.3875, allocations: 257.9 kB / 432.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.3877, allocations: 99.38 kB / 432.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.3887, allocations: 495.4 kB / 433 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.3887, allocations: 8 kB / 433 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3888, allocations: 0 / 433 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3888, allocations: 128 / 433 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.3911, allocations: 1.399 MB / 434.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3911, allocations: 3.984 kB / 434.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.3915, allocations: 75.89 kB / 434.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002825/0.3918, allocations: 73.83 kB / 434.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.3918, allocations: 16 kB / 434.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/0.395, allocations: 2.915 MB / 437.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.395, allocations: 4 kB / 437.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.3966, allocations: 0.7712 MB / 438.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.397, allocations: 127.4 kB / 438.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3971, allocations: 15.94 kB / 438.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.3975, allocations: 27.98 kB / 438.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3976, allocations: 31.94 kB / 438.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.3976, allocations: 16.14 kB / 438.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000989/0.3986, allocations: 0.5615 MB / 439 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3986, allocations: 0 / 439 MB, free: 7.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000975/0.3996, allocations: 204 kB / 439.2 MB, free: 7.621 MB / 350.1 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.0002285/0.3998, allocations: 135 kB / 439.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.4013, allocations: 0.6705 MB / 440 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4013, allocations: 0 / 440 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007988/0.4021, allocations: 434.3 kB / 440.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.4033, allocations: 231.2 kB / 440.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.4065, allocations: 1.737 MB / 442.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000762/0.4072, allocations: 1.009 MB / 443.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003753/0.4076, allocations: 103.3 kB / 443.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.4077, allocations: 59.42 kB / 443.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4077, allocations: 0 / 443.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of Templates: time 0.0224/0.4301, allocations: 11.15 MB / 454.8 MB, free: 7.953 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.369376624934375]