Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001329/0.001329, allocations: 124.3 kB / 17.79 MB, free: 5.227 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.001465/0.001465, allocations: 203.3 kB / 20.74 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 51.92 kB / 373.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1071, allocations: 53.32 MB / 426.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.2309/0.338, allocations: 8.127 MB / 434.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.3415, allocations: 2.677 MB / 437.6 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/0.3422, allocations: 27.53 kB / 437.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.3436, allocations: 0.5798 MB / 438.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.3446, allocations: 498.8 kB / 438.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.3451, allocations: 251.7 kB / 439 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.3467, allocations: 1.474 MB / 440.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000574/0.3472, allocations: 402.6 kB / 440.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007783/0.348, allocations: 0.5744 MB / 441.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006474/0.3487, allocations: 0.5979 MB / 442 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.3488, allocations: 142.4 kB / 442.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.3492, allocations: 173.9 kB / 442.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.3494, allocations: 279.3 kB / 442.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.3499, allocations: 0.6618 MB / 443.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.352, allocations: 1.728 MB / 445 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.352, allocations: 0 / 445 MB, free: 2.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.352, allocations: 0 / 445 MB, free: 2.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.016e-05/0.352, allocations: 9.062 kB / 445 MB, free: 2.395 MB / 350.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.002453/0.3545, allocations: 1.479 MB / 446.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3545, allocations: 10.56 kB / 446.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/0.3552, allocations: 195.3 kB / 446.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.3563, allocations: 0.7472 MB / 447.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.3564, allocations: 73.44 kB / 447.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.3565, allocations: 100.8 kB / 447.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3581, allocations: 0.9332 MB / 448.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.3581, allocations: 4.312 kB / 448.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/0.3582, allocations: 41.31 kB / 448.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.3582, allocations: 23.66 kB / 448.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.3595, allocations: 0.6355 MB / 449.2 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005838/0.3653, allocations: 3.893 MB / 453.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.3661, allocations: 426.6 kB / 453.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006348/0.3667, allocations: 255.2 kB / 453.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.3667, allocations: 8 kB / 453.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3668, allocations: 34.97 kB / 453.8 MB, free: 13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.245e-06/0.3668, allocations: 0 / 453.8 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.003063/0.3698, allocations: 1.408 MB / 455.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.3699, allocations: 81.23 kB / 455.3 MB, free: 12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.3711, allocations: 0.8285 MB / 456.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.3711, allocations: 32.42 kB / 456.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/0.3716, allocations: 0.5744 MB / 456.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.3717, allocations: 166.2 kB / 456.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.3719, allocations: 130.6 kB / 457 MB, free: 10.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.3721, allocations: 333.6 kB / 457.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.3725, allocations: 164 kB / 457.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/0.3731, allocations: 468.3 kB / 458 MB, free: 10.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009907/0.3741, allocations: 0.6612 MB / 458.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3741, allocations: 2.594 kB / 458.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001517/0.3756, allocations: 0.7655 MB / 459.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3757, allocations: 10 kB / 459.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.3757, allocations: 12.42 kB / 459.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.376, allocations: 87.78 kB / 459.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.3766, allocations: 153.3 kB / 459.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.3797, allocations: 3.146 MB / 462.8 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/0.3804, allocations: 32.56 kB / 462.8 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.3805, allocations: 36.38 kB / 462.9 MB, free: 5.945 MB / 366.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.0004965/0.381, allocations: 266.7 kB / 463.1 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.3811, allocations: 93.73 kB / 463.2 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.3822, allocations: 485.7 kB / 463.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3822, allocations: 4.938 kB / 463.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3822, allocations: 5.125 kB / 463.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3822, allocations: 5 kB / 463.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.3847, allocations: 1.438 MB / 465.1 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3847, allocations: 0 / 465.1 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.385, allocations: 70.72 kB / 465.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.3852, allocations: 71.8 kB / 465.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.3853, allocations: 12.38 kB / 465.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.3881, allocations: 3.127 MB / 468.4 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.3881, allocations: 6.047 kB / 468.4 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.3895, allocations: 0.7693 MB / 469.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.3899, allocations: 201.5 kB / 469.4 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.39, allocations: 16.34 kB / 469.4 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.3904, allocations: 27.14 kB / 469.4 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.3905, allocations: 38.86 kB / 469.5 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.3906, allocations: 11.31 kB / 469.5 MB, free: 332 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009229/0.3915, allocations: 0.5647 MB / 470.1 MB, free: 0 / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3915, allocations: 0 / 470.1 MB, free: 0 / 366.1 MB Notification: Performance of remove unused functions: time 0.0009988/0.3925, allocations: 208.8 kB / 470.3 MB, free: 15.97 MB / 382.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.0002387/0.3927, allocations: 122.5 kB / 470.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.394, allocations: 0.666 MB / 471 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3941, allocations: 0 / 471 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.3948, allocations: 433.6 kB / 471.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.3959, allocations: 236.4 kB / 471.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.3989, allocations: 1.743 MB / 473.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/0.3997, allocations: 1.004 MB / 474.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003875/0.4001, allocations: 106.2 kB / 474.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.4002, allocations: 61.8 kB / 474.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4002, allocations: 4 kB / 474.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02283/0.4231, allocations: 10.83 MB / 485.4 MB, free: 4.57 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.042116213589907]