Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.00144/0.00144, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001485/0.001485, allocations: 185 kB / 24.45 MB, free: 3.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.92 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2278, allocations: 52.17 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009599/0.2374, allocations: 7.14 MB / 431 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005008/0.2424, allocations: 2.459 MB / 433.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.2434, allocations: 27.88 kB / 433.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.245, allocations: 0.5244 MB / 434 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.2463, allocations: 0.4886 MB / 434.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.2469, allocations: 255.7 kB / 434.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001706/0.2486, allocations: 1.482 MB / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006271/0.2492, allocations: 367.3 kB / 436.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007764/0.25, allocations: 0.572 MB / 437.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007001/0.2507, allocations: 0.513 MB / 437.6 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.2508, allocations: 136 kB / 437.8 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.2512, allocations: 180 kB / 437.9 MB, free: 260 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.2514, allocations: 279 kB / 438.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.252, allocations: 0.5366 MB / 438.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.254, allocations: 1.742 MB / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.254, allocations: 0 / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.254, allocations: 0 / 440.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.254, allocations: 0 / 440.5 MB, free: 13.7 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.002676/0.2567, allocations: 1.407 MB / 441.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2567, allocations: 8.031 kB / 441.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006675/0.2574, allocations: 196 kB / 442.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.2588, allocations: 0.6806 MB / 442.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.2589, allocations: 74 kB / 442.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.259, allocations: 100 kB / 443 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.2607, allocations: 1.035 MB / 444 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.2607, allocations: 7.953 kB / 444 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.2608, allocations: 40 kB / 444 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.2608, allocations: 24 kB / 444.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.2621, allocations: 0.6286 MB / 444.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005342/0.2675, allocations: 3.354 MB / 448 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.2682, allocations: 342 kB / 448.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006002/0.2688, allocations: 253.3 kB / 448.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.2688, allocations: 12.27 kB / 448.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.2688, allocations: 38.89 kB / 448.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.2688, allocations: 0 / 448.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002863/0.2717, allocations: 1.255 MB / 449.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.2718, allocations: 89.09 kB / 450 MB, free: 3.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.2729, allocations: 0.7504 MB / 450.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.2729, allocations: 37.7 kB / 450.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.2733, allocations: 0.5813 MB / 451.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.2735, allocations: 166.6 kB / 451.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.2737, allocations: 130.6 kB / 451.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.2739, allocations: 390.8 kB / 452.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.2742, allocations: 165.9 kB / 452.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.2748, allocations: 489.7 kB / 452.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.2758, allocations: 0.6585 MB / 453.4 MB, free: 132 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2758, allocations: 0 / 453.4 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001477/0.2773, allocations: 0.7596 MB / 454.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2773, allocations: 8 kB / 454.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.2773, allocations: 12.03 kB / 454.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.2776, allocations: 89.61 kB / 454.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.2781, allocations: 147.8 kB / 454.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.2808, allocations: 2.886 MB / 457.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.2814, allocations: 32.14 kB / 457.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.2814, allocations: 36 kB / 457.3 MB, free: 11.95 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.0004221/0.2818, allocations: 261.5 kB / 457.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.282, allocations: 87.42 kB / 457.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009781/0.2829, allocations: 486.6 kB / 458.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.283, allocations: 7.938 kB / 458.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.283, allocations: 0 / 458.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.283, allocations: 7.984 kB / 458.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.285, allocations: 1.193 MB / 459.3 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.285, allocations: 3.938 kB / 459.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.2854, allocations: 71.91 kB / 459.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002166/0.2856, allocations: 65.89 kB / 459.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.2856, allocations: 20 kB / 459.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.2881, allocations: 2.862 MB / 462.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2881, allocations: 0 / 462.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.2895, allocations: 0.7635 MB / 463.1 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.2898, allocations: 119.5 kB / 463.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.2899, allocations: 8 kB / 463.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.2903, allocations: 23.98 kB / 463.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.2904, allocations: 43.81 kB / 463.3 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.2904, allocations: 12 kB / 463.3 MB, free: 5.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007168/0.2911, allocations: 0.5029 MB / 463.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2911, allocations: 4 kB / 463.8 MB, free: 5.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00086/0.292, allocations: 203.9 kB / 464 MB, free: 4.883 MB / 366.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.0002237/0.2922, allocations: 124.9 kB / 464.2 MB, free: 4.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.2935, allocations: 0.6639 MB / 464.8 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2935, allocations: 0 / 464.8 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006756/0.2942, allocations: 429.6 kB / 465.2 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2952, allocations: 208.4 kB / 465.4 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.2984, allocations: 1.766 MB / 467.2 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.2989, allocations: 417.6 kB / 467.6 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.2991, allocations: 59.44 kB / 467.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2991, allocations: 0 / 467.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of Templates: time 0.02815/0.3272, allocations: 20.96 MB / 488.6 MB, free: 12.18 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.99182436009869]