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.001896/0.001896, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002256/0.002256, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.00164/0.00164, allocations: 55.91 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2709, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009792/0.2807, allocations: 7.153 MB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004547/0.2852, allocations: 2.49 MB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005762/0.2858, allocations: 31.81 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.2872, allocations: 0.5205 MB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.2883, allocations: 0.4925 MB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.2888, allocations: 255.6 kB / 443.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.2904, allocations: 1.471 MB / 444.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.291, allocations: 379.2 kB / 445.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008156/0.2919, allocations: 0.5759 MB / 445.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006963/0.2926, allocations: 0.509 MB / 446.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.2927, allocations: 140 kB / 446.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.2931, allocations: 176 kB / 446.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.2933, allocations: 282.9 kB / 446.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005538/0.2939, allocations: 0.5327 MB / 447.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.2958, allocations: 1.742 MB / 449.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2959, allocations: 0 / 449.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2959, allocations: 0 / 449.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.2959, allocations: 4 kB / 449.1 MB, free: 5.922 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.00249/0.2984, allocations: 1.403 MB / 450.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2984, allocations: 12.03 kB / 450.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/0.2991, allocations: 188 kB / 450.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.3003, allocations: 0.6883 MB / 451.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/0.3004, allocations: 70 kB / 451.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.3006, allocations: 99.95 kB / 451.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.3023, allocations: 1.035 MB / 452.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.3023, allocations: 4 kB / 452.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.3024, allocations: 44 kB / 452.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.3024, allocations: 24 kB / 452.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.3037, allocations: 0.6286 MB / 453.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/0.3088, allocations: 3.354 MB / 456.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.3095, allocations: 341.9 kB / 456.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/0.3101, allocations: 259.7 kB / 457.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.3102, allocations: 4.328 kB / 457.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.3102, allocations: 42.83 kB / 457.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.474e-06/0.3102, allocations: 0 / 457.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002725/0.3129, allocations: 1.257 MB / 458.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.313, allocations: 81.11 kB / 458.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.3141, allocations: 0.7582 MB / 459.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.3142, allocations: 29.7 kB / 459.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005075/0.3147, allocations: 0.5852 MB / 459.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.3148, allocations: 170.6 kB / 460.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.315, allocations: 134.5 kB / 460.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.3152, allocations: 386.7 kB / 460.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.3156, allocations: 165.9 kB / 460.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.3162, allocations: 481.7 kB / 461.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.3173, allocations: 0.6661 MB / 461.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3173, allocations: 4 kB / 461.9 MB, free: 8.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001427/0.3187, allocations: 0.7554 MB / 462.7 MB, free: 7.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.3187, allocations: 15.98 kB / 462.7 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3187, allocations: 8 kB / 462.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003012/0.319, allocations: 85.88 kB / 462.8 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.3196, allocations: 159.7 kB / 462.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.3224, allocations: 2.874 MB / 465.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.3229, allocations: 39.88 kB / 465.9 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.3229, allocations: 36 kB / 465.9 MB, free: 4.168 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.000415/0.3233, allocations: 261.6 kB / 466.1 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.3235, allocations: 83.42 kB / 466.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009927/0.3245, allocations: 490.6 kB / 466.7 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3245, allocations: 7.938 kB / 466.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3245, allocations: 4.125 kB / 466.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3245, allocations: 0 / 466.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.3266, allocations: 1.189 MB / 467.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3266, allocations: 8.031 kB / 467.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.3269, allocations: 67.89 kB / 468 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.3271, allocations: 69.69 kB / 468 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.3271, allocations: 12.03 kB / 468.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.3298, allocations: 2.862 MB / 470.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3298, allocations: 4.031 kB / 470.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.3311, allocations: 0.7668 MB / 471.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.3313, allocations: 111.5 kB / 471.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.3314, allocations: 12 kB / 471.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.3318, allocations: 31.97 kB / 471.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.3319, allocations: 39.83 kB / 471.9 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.3319, allocations: 15.98 kB / 471.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007127/0.3326, allocations: 0.503 MB / 472.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3326, allocations: 3.938 kB / 472.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007891/0.3334, allocations: 200 kB / 472.6 MB, free: 13.11 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.0002102/0.3336, allocations: 131.2 kB / 472.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.3349, allocations: 0.6702 MB / 473.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3349, allocations: 0 / 473.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006946/0.3356, allocations: 438.8 kB / 473.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009662/0.3366, allocations: 198.2 kB / 474 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.3396, allocations: 1.758 MB / 475.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.34, allocations: 417.6 kB / 476.2 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3402, allocations: 55.44 kB / 476.2 MB, free: 9.332 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3402, allocations: 0 / 476.2 MB, free: 9.332 MB / 382.1 MB Notification: Performance of Templates: time 0.02556/0.3657, allocations: 20.97 MB / 497.2 MB, free: 4.391 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/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: 8.971954388078302]