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.001683/0.001683, allocations: 102.8 kB / 21.19 MB, free: 0.6367 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.002045/0.002045, allocations: 222.8 kB / 24.5 MB, free: 3.922 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.002464/0.002464, allocations: 51.91 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2277, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009409/0.2371, allocations: 7.173 MB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004409/0.2415, allocations: 2.486 MB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005345/0.242, allocations: 27.88 kB / 442 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.2433, allocations: 0.5161 MB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009399/0.2442, allocations: 0.4964 MB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.2446, allocations: 247.7 kB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.246, allocations: 1.471 MB / 444.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005806/0.2466, allocations: 403.2 kB / 445.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006509/0.2472, allocations: 0.5798 MB / 445.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.2479, allocations: 0.5989 MB / 446.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.248, allocations: 140 kB / 446.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.2483, allocations: 176 kB / 446.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.2486, allocations: 282.9 kB / 446.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005002/0.2491, allocations: 0.5327 MB / 447.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.2508, allocations: 1.747 MB / 449.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.2508, allocations: 0 / 449.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2508, allocations: 0 / 449.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.2508, allocations: 3.938 kB / 449.2 MB, free: 5.75 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.002272/0.2531, allocations: 1.4 MB / 450.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2531, allocations: 16.02 kB / 450.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006592/0.2537, allocations: 188 kB / 450.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.2549, allocations: 0.6806 MB / 451.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.255, allocations: 70 kB / 451.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.2551, allocations: 104 kB / 451.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.2568, allocations: 1.035 MB / 452.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.2568, allocations: 0 / 452.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.452e-05/0.2569, allocations: 44 kB / 452.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.2569, allocations: 24 kB / 452.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.2582, allocations: 0.6363 MB / 453.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/0.2627, allocations: 3.35 MB / 456.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.2634, allocations: 349.6 kB / 457.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.2639, allocations: 253.4 kB / 457.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.264, allocations: 8.312 kB / 457.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.264, allocations: 38.89 kB / 457.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.673e-06/0.264, allocations: 0 / 457.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002389/0.2664, allocations: 1.253 MB / 458.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.2664, allocations: 81.11 kB / 458.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000973/0.2674, allocations: 0.7582 MB / 459.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.2674, allocations: 29.7 kB / 459.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/0.2679, allocations: 0.5852 MB / 460.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.268, allocations: 166.6 kB / 460.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.2682, allocations: 134.6 kB / 460.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2684, allocations: 382.8 kB / 460.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.2687, allocations: 161.9 kB / 460.9 MB, free: 9.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.2693, allocations: 485.7 kB / 461.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009567/0.2702, allocations: 0.6661 MB / 462 MB, free: 8.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2702, allocations: 4 kB / 462 MB, free: 8.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001347/0.2716, allocations: 0.7593 MB / 462.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2716, allocations: 10.81 kB / 462.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.2716, allocations: 12 kB / 462.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.2719, allocations: 85.92 kB / 462.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.2724, allocations: 151.7 kB / 463.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.2748, allocations: 2.878 MB / 465.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.2753, allocations: 39.94 kB / 466 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.2753, allocations: 36 kB / 466 MB, free: 4.016 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.0003183/0.2757, allocations: 249.6 kB / 466.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.2758, allocations: 87.47 kB / 466.3 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/0.2767, allocations: 498.5 kB / 466.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2767, allocations: 3.938 kB / 466.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2767, allocations: 3.938 kB / 466.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.277, allocations: 111.4 kB / 466.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.2771, allocations: 8 kB / 466.9 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.2775, allocations: 31.97 kB / 467 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.2775, allocations: 31.94 kB / 467 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001111/0.2786, allocations: 0.4983 MB / 467.5 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001093/0.2797, allocations: 0.7346 MB / 468.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002698/0.28, allocations: 131.9 kB / 468.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006687/0.2807, allocations: 0.5069 MB / 468.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of Backend: time 3.81e-07/0.2807, allocations: 0 / 468.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.2819, allocations: 0.6509 MB / 469.5 MB, free: 420 kB / 366.1 MB Notification: Performance of SimCode: time 0.00307/0.285, allocations: 2.26 MB / 471.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of Templates: time 0.02124/0.3063, allocations: 12.8 MB / 484.6 MB, free: 1.52 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/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: 4.722558786001173]