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.001398/0.001398, allocations: 107.1 kB / 19.76 MB, free: 2.551 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.00166/0.00166, allocations: 187.5 kB / 22.93 MB, free: 5.582 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.744/1.744, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.001747/0.001747, allocations: 55.91 kB / 345.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3176, allocations: 49.12 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01133/0.3289, allocations: 8.11 MB / 402.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005436/0.3343, allocations: 2.676 MB / 405.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.3359, allocations: 23.22 kB / 405.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.3377, allocations: 0.5924 MB / 405.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.3395, allocations: 495.5 kB / 406.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.3402, allocations: 257.4 kB / 406.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.3421, allocations: 1.467 MB / 408.1 MB, free: 60 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000773/0.3429, allocations: 397.3 kB / 408.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.3441, allocations: 0.5627 MB / 409.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.3451, allocations: 0.5943 MB / 409.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.3453, allocations: 142.9 kB / 409.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.3458, allocations: 178.3 kB / 410 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.3461, allocations: 278.9 kB / 410.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008317/0.3469, allocations: 0.6667 MB / 410.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.3496, allocations: 1.724 MB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3496, allocations: 0 / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3496, allocations: 0 / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.547e-05/0.3496, allocations: 0 / 412.6 MB, free: 13.47 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.002975/0.3526, allocations: 1.484 MB / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3526, allocations: 16.95 kB / 414.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007348/0.3534, allocations: 191.2 kB / 414.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.3548, allocations: 0.7514 MB / 415.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.3549, allocations: 77.44 kB / 415.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.355, allocations: 95.34 kB / 415.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.3568, allocations: 0.9355 MB / 416.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/0.3568, allocations: 9.172 kB / 416.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.3569, allocations: 37.25 kB / 416.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.3569, allocations: 28.19 kB / 416.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.3582, allocations: 0.6379 MB / 416.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005939/0.3642, allocations: 3.902 MB / 420.8 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.3649, allocations: 413.9 kB / 421.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/0.3654, allocations: 259 kB / 421.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.3655, allocations: 7.812 kB / 421.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3655, allocations: 41.39 kB / 421.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.3655, allocations: 1 kB / 421.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.003163/0.3687, allocations: 1.411 MB / 422.9 MB, free: 5.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.3687, allocations: 82.61 kB / 423 MB, free: 5.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.37, allocations: 0.8301 MB / 423.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.37, allocations: 32.17 kB / 423.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/0.3705, allocations: 0.5671 MB / 424.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3706, allocations: 163.4 kB / 424.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.3708, allocations: 132.3 kB / 424.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.371, allocations: 333 kB / 425 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.3713, allocations: 163.5 kB / 425.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.3719, allocations: 459.3 kB / 425.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009623/0.3728, allocations: 0.6608 MB / 426.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3729, allocations: 2.469 kB / 426.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001451/0.3743, allocations: 0.773 MB / 427.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.3743, allocations: 15.91 kB / 427.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3744, allocations: 11.94 kB / 427.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/0.3747, allocations: 89.88 kB / 427.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.3752, allocations: 155.7 kB / 427.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.3781, allocations: 3.142 MB / 430.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.3788, allocations: 36 kB / 430.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.3789, allocations: 36.12 kB / 430.6 MB, free: 14.7 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.000487/0.3794, allocations: 261.7 kB / 430.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.3795, allocations: 91.44 kB / 430.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009766/0.3805, allocations: 499.5 kB / 431.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3805, allocations: 4 kB / 431.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.3805, allocations: 3.938 kB / 431.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3805, allocations: 0 / 431.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.3829, allocations: 1.427 MB / 432.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.3829, allocations: 7.984 kB / 432.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.3832, allocations: 67.91 kB / 432.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.3834, allocations: 77.83 kB / 433 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.3834, allocations: 12 kB / 433 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/0.3862, allocations: 3.126 MB / 436.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.3862, allocations: 4.031 kB / 436.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.3876, allocations: 0.7671 MB / 436.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.3879, allocations: 204.5 kB / 437.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.3881, allocations: 15.94 kB / 437.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.3885, allocations: 19.98 kB / 437.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.3886, allocations: 39.95 kB / 437.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.3886, allocations: 12.14 kB / 437.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008653/0.3894, allocations: 0.5615 MB / 437.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3894, allocations: 0 / 437.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001063/0.3905, allocations: 211.9 kB / 437.9 MB, free: 6.867 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.0003114/0.3908, allocations: 123.1 kB / 438.1 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.3923, allocations: 0.6703 MB / 438.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3923, allocations: 0 / 438.7 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000737/0.3931, allocations: 439 kB / 439.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.3942, allocations: 235.8 kB / 439.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.3976, allocations: 1.743 MB / 441.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.3983, allocations: 1.001 MB / 442.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.3987, allocations: 103.3 kB / 442.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3989, allocations: 59.44 kB / 442.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3989, allocations: 0 / 442.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Templates: time 0.02318/0.422, allocations: 10.96 MB / 453.3 MB, free: 7.387 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.363198759965599]