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.001269/0.001269, allocations: 114.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.001637/0.001637, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.408/1.408, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.001922/0.001922, allocations: 67.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2212, allocations: 53.33 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009791/0.231, allocations: 8.161 MB / 440.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004223/0.2352, allocations: 2.68 MB / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004571/0.2357, allocations: 23.94 kB / 442.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.237, allocations: 0.5715 MB / 443.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008975/0.2379, allocations: 0.4925 MB / 444 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.2383, allocations: 255.7 kB / 444.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.2398, allocations: 1.467 MB / 445.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006074/0.2404, allocations: 404.9 kB / 446.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006847/0.2411, allocations: 0.5681 MB / 446.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007454/0.2418, allocations: 0.5911 MB / 447.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.242, allocations: 140 kB / 447.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.2423, allocations: 176 kB / 447.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.2425, allocations: 286.9 kB / 447.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006225/0.2432, allocations: 0.6609 MB / 448.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.245, allocations: 1.72 MB / 450.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.245, allocations: 4 kB / 450.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.245, allocations: 4 kB / 450.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.245, allocations: 0 / 450.3 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.002394/0.2474, allocations: 1.483 MB / 451.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2474, allocations: 8.031 kB / 451.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006623/0.2481, allocations: 196 kB / 451.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.2493, allocations: 0.7501 MB / 452.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/0.2494, allocations: 74 kB / 452.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.2495, allocations: 103.9 kB / 452.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.2511, allocations: 0.9308 MB / 453.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.2511, allocations: 4 kB / 453.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/0.2512, allocations: 40 kB / 453.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.2512, allocations: 24 kB / 453.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.2525, allocations: 0.6364 MB / 454.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005219/0.2577, allocations: 3.904 MB / 458.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.2584, allocations: 416.7 kB / 458.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/0.259, allocations: 253.3 kB / 459.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.2591, allocations: 4.328 kB / 459.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.2591, allocations: 42.89 kB / 459.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.854e-06/0.2591, allocations: 0 / 459.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002664/0.2618, allocations: 1.407 MB / 460.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.2618, allocations: 85.11 kB / 460.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.2629, allocations: 0.8292 MB / 461.4 MB, free: 9.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.263, allocations: 33.7 kB / 461.4 MB, free: 9.418 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.2634, allocations: 0.5619 MB / 462 MB, free: 8.848 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.2635, allocations: 170.6 kB / 462.2 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.2637, allocations: 134.6 kB / 462.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2638, allocations: 330 kB / 462.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.2642, allocations: 165.9 kB / 462.8 MB, free: 8.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.2648, allocations: 463.9 kB / 463.2 MB, free: 7.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009578/0.2657, allocations: 0.6622 MB / 463.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.2657, allocations: 7.984 kB / 463.9 MB, free: 6.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001346/0.2671, allocations: 0.7632 MB / 464.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.2671, allocations: 8 kB / 464.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.2671, allocations: 12 kB / 464.7 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.2674, allocations: 81.94 kB / 464.8 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.2679, allocations: 155.7 kB / 464.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.2705, allocations: 3.143 MB / 468.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.271, allocations: 44 kB / 468.1 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.2711, allocations: 32 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.0003465/0.2714, allocations: 261.8 kB / 468.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.2715, allocations: 95.42 kB / 468.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009419/0.2725, allocations: 495.4 kB / 469 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2725, allocations: 0 / 469 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2725, allocations: 0 / 469 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.2728, allocations: 204.5 kB / 469.2 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-05/0.2729, allocations: 4 kB / 469.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.2733, allocations: 36.05 kB / 469.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.2733, allocations: 31.94 kB / 469.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001139/0.2745, allocations: 0.51 MB / 469.8 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001123/0.2756, allocations: 0.7307 MB / 470.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002822/0.2759, allocations: 135.9 kB / 470.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007752/0.2767, allocations: 0.5654 MB / 471.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of Backend: time 3.91e-07/0.2767, allocations: 0 / 471.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.2781, allocations: 0.6528 MB / 471.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of SimCode: time 0.003355/0.2814, allocations: 2.322 MB / 474.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of Templates: time 0.02193/0.3033, allocations: 11.8 MB / 486 MB, free: 296 kB / 382.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: 4.567248371895403]