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.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.001921/0.001921, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002024/0.002024, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.51/1.51, allocations: 207.7 MB / 235.3 MB, free: 9.816 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.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.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.00317/0.00317, allocations: 63.8 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3167, allocations: 49.15 MB / 396.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.007488/0.3242, allocations: 7.097 MB / 404 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.3283, allocations: 2.5 MB / 406.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007081/0.329, allocations: 27.66 kB / 406.5 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.3304, allocations: 0.5264 MB / 407 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009932/0.3314, allocations: 0.4888 MB / 407.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.3318, allocations: 258.3 kB / 407.7 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3331, allocations: 1.474 MB / 409.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005235/0.3336, allocations: 370 kB / 409.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000622/0.3342, allocations: 0.568 MB / 410.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006158/0.3349, allocations: 0.5152 MB / 410.7 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.335, allocations: 137.6 kB / 410.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.3354, allocations: 174.8 kB / 411 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.3355, allocations: 286.5 kB / 411.2 MB, free: 388 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004613/0.336, allocations: 0.5343 MB / 411.8 MB, free: 88 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.3379, allocations: 1.74 MB / 413.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3379, allocations: 0 / 413.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3379, allocations: 0 / 413.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.338, allocations: 5.062 kB / 413.5 MB, free: 14.81 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.002647/0.3406, allocations: 1.409 MB / 414.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3407, allocations: 14.2 kB / 415 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007059/0.3414, allocations: 194.2 kB / 415.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.3427, allocations: 0.6847 MB / 415.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/0.3428, allocations: 73.47 kB / 415.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.3429, allocations: 95.62 kB / 416 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.3447, allocations: 1.033 MB / 417 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.3447, allocations: 10.11 kB / 417 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-05/0.3448, allocations: 36.91 kB / 417.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.3449, allocations: 24.38 kB / 417.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.3461, allocations: 0.6362 MB / 417.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00496/0.351, allocations: 3.341 MB / 421.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.3517, allocations: 343.6 kB / 421.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.3523, allocations: 246.8 kB / 421.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3523, allocations: 6.016 kB / 421.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.3524, allocations: 45.59 kB / 421.7 MB, free: 8.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.285e-06/0.3524, allocations: 0 / 421.7 MB, free: 8.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002789/0.3552, allocations: 1.249 MB / 422.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.3552, allocations: 86.03 kB / 423 MB, free: 7.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.3563, allocations: 0.75 MB / 423.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.3563, allocations: 39.05 kB / 423.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/0.3568, allocations: 0.5806 MB / 424.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3569, allocations: 167.6 kB / 424.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.3571, allocations: 132.7 kB / 424.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3573, allocations: 390.9 kB / 425.1 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.3576, allocations: 167.9 kB / 425.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/0.3582, allocations: 496.5 kB / 425.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000988/0.3592, allocations: 0.6468 MB / 426.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3592, allocations: 4 kB / 426.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001371/0.3606, allocations: 0.7597 MB / 427.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3606, allocations: 12 kB / 427.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3607, allocations: 8 kB / 427.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002711/0.3609, allocations: 85.61 kB / 427.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.3614, allocations: 155.9 kB / 427.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.3641, allocations: 2.885 MB / 430.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.3649, allocations: 36.05 kB / 430.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.3649, allocations: 32 kB / 430.3 MB, free: 0.7461 MB / 334.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.0004804/0.3654, allocations: 261.9 kB / 430.6 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.3655, allocations: 83.42 kB / 430.7 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.3666, allocations: 486.6 kB / 431.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3666, allocations: 7.938 kB / 431.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3666, allocations: 0 / 431.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3666, allocations: 3.984 kB / 431.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.3688, allocations: 1.189 MB / 432.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3688, allocations: 4 kB / 432.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.3691, allocations: 67.91 kB / 432.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/0.3693, allocations: 73.89 kB / 432.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.3694, allocations: 8 kB / 432.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.3722, allocations: 2.87 MB / 435.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3722, allocations: 4.031 kB / 435.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.3737, allocations: 0.7672 MB / 436.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/0.374, allocations: 115.5 kB / 436.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.3741, allocations: 12 kB / 436.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.3745, allocations: 23.98 kB / 436.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.3746, allocations: 43.56 kB / 436.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.3747, allocations: 16 kB / 436.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007682/0.3754, allocations: 0.5029 MB / 436.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3754, allocations: 7.938 kB / 436.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001012/0.3764, allocations: 203.9 kB / 437.1 MB, free: 9.684 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.0002452/0.3767, allocations: 127 kB / 437.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.378, allocations: 0.6592 MB / 437.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.378, allocations: 320 / 437.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.3787, allocations: 433.7 kB / 438.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.3798, allocations: 207.3 kB / 438.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.3831, allocations: 1.729 MB / 440.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.3836, allocations: 417.6 kB / 440.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003804/0.3839, allocations: 98.67 kB / 440.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.3841, allocations: 51.44 kB / 440.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3841, allocations: 0 / 440.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of Templates: time 0.02274/0.4068, allocations: 11.48 MB / 452.2 MB, free: 10.34 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.1082194447517395]