Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 206.3 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2205, allocations: 53.31 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009639/0.2302, allocations: 8.173 MB / 440.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.2346, allocations: 2.676 MB / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007351/0.2353, allocations: 23.94 kB / 442.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.2368, allocations: 0.5754 MB / 443.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.238, allocations: 0.4925 MB / 444 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.2385, allocations: 251.7 kB / 444.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.2402, allocations: 1.473 MB / 445.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/0.2408, allocations: 402.8 kB / 446.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008052/0.2416, allocations: 0.5642 MB / 446.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007376/0.2423, allocations: 0.5989 MB / 447.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.2425, allocations: 140 kB / 447.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.2428, allocations: 176 kB / 447.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.243, allocations: 279 kB / 447.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006131/0.2437, allocations: 0.6609 MB / 448.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.2455, allocations: 1.725 MB / 450.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2455, allocations: 0 / 450.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2455, allocations: 4 kB / 450.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.2455, allocations: 0 / 450.2 MB, free: 5.113 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.002508/0.248, allocations: 1.486 MB / 451.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2481, allocations: 8.031 kB / 451.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006592/0.2487, allocations: 196 kB / 451.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.25, allocations: 0.7501 MB / 452.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-05/0.2501, allocations: 74 kB / 452.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.2502, allocations: 103.9 kB / 452.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.2517, allocations: 0.9346 MB / 453.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.2518, allocations: 4 kB / 453.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-05/0.2519, allocations: 40 kB / 453.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.2519, allocations: 24 kB / 453.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.2531, allocations: 0.6286 MB / 454.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.2583, allocations: 3.9 MB / 458.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.2589, allocations: 416.7 kB / 458.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.2595, allocations: 249.4 kB / 459 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.2596, allocations: 8.328 kB / 459 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.2596, allocations: 46.81 kB / 459.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.2596, allocations: 0 / 459.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002719/0.2623, allocations: 1.408 MB / 460.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.2624, allocations: 81.11 kB / 460.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.2635, allocations: 0.8253 MB / 461.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.2635, allocations: 33.7 kB / 461.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.264, allocations: 0.5697 MB / 462 MB, free: 8.848 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.2641, allocations: 170.6 kB / 462.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.2643, allocations: 130.6 kB / 462.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2644, allocations: 333.9 kB / 462.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.2648, allocations: 169.9 kB / 462.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.2653, allocations: 464 kB / 463.2 MB, free: 7.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009309/0.2663, allocations: 0.6583 MB / 463.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.2663, allocations: 4 kB / 463.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001432/0.2677, allocations: 0.7631 MB / 464.7 MB, free: 5.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.2677, allocations: 12 kB / 464.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.2677, allocations: 8.375 kB / 464.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/0.268, allocations: 89.61 kB / 464.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.2685, allocations: 147.8 kB / 464.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.2712, allocations: 3.155 MB / 468.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.2718, allocations: 27.95 kB / 468.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.2718, allocations: 39.98 kB / 468.1 MB, free: 2.129 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.0004013/0.2722, allocations: 261.4 kB / 468.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.2724, allocations: 91.44 kB / 468.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000951/0.2733, allocations: 495.5 kB / 469 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2733, allocations: 4 kB / 469 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2733, allocations: 0 / 469 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2733, allocations: 3.984 kB / 469 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.2756, allocations: 1.442 MB / 470.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.2756, allocations: 4 kB / 470.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.2759, allocations: 71.89 kB / 470.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.2761, allocations: 73.89 kB / 470.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.2761, allocations: 15.94 kB / 470.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.2787, allocations: 3.127 MB / 473.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2787, allocations: 4.031 kB / 473.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.28, allocations: 0.7704 MB / 474.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.2803, allocations: 200.5 kB / 474.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.2804, allocations: 15.94 kB / 474.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.2808, allocations: 23.97 kB / 474.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.2809, allocations: 39.91 kB / 474.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.2809, allocations: 12 kB / 474.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008071/0.2817, allocations: 0.5615 MB / 475.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2817, allocations: 0 / 475.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008445/0.2826, allocations: 211.9 kB / 475.5 MB, free: 10.27 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.0002185/0.2828, allocations: 123.4 kB / 475.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.284, allocations: 0.6679 MB / 476.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.284, allocations: 0 / 476.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.2847, allocations: 433.6 kB / 476.7 MB, free: 9.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.2857, allocations: 224.7 kB / 477 MB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.2887, allocations: 1.778 MB / 478.7 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.2894, allocations: 1.009 MB / 479.8 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.2896, allocations: 59.44 kB / 479.8 MB, free: 5.867 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2896, allocations: 0 / 479.8 MB, free: 5.867 MB / 382.1 MB Notification: Performance of Templates: time 0.02795/0.3175, allocations: 21.06 MB / 0.4891 GB, free: 0.8477 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.792627430986613]