Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001401/0.001401, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001479/0.001479, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.2 MB / 255.1 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.83 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 53.32 MB / 427.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009873/0.1123, allocations: 8.034 MB / 435.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005232/0.1175, allocations: 2.637 MB / 438.5 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.1185, allocations: 23.94 kB / 438.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.1203, allocations: 0.5754 MB / 439.1 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.1219, allocations: 488.4 kB / 439.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.1225, allocations: 243.7 kB / 439.8 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00195/0.1244, allocations: 1.428 MB / 441.3 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006938/0.1251, allocations: 410.8 kB / 441.7 MB, free: 6.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009745/0.1261, allocations: 0.5447 MB / 442.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007248/0.1268, allocations: 0.5794 MB / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.127, allocations: 136 kB / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.1273, allocations: 172 kB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.1276, allocations: 286.9 kB / 443.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006217/0.1282, allocations: 0.6415 MB / 444 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.1302, allocations: 1.704 MB / 445.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1302, allocations: 4 kB / 445.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1302, allocations: 0 / 445.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.384e-05/0.1303, allocations: 0 / 445.7 MB, free: 2.508 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002625/0.1329, allocations: 1.463 MB / 447.2 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1329, allocations: 8.031 kB / 447.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/0.1335, allocations: 176.1 kB / 447.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.1348, allocations: 0.7384 MB / 448.1 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2184/0.3532, allocations: 73.73 kB / 448.2 MB, free: 24.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/0.3536, allocations: 96.66 kB / 448.3 MB, free: 24.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.3554, allocations: 0.9173 MB / 449.2 MB, free: 24.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.3555, allocations: 6.141 kB / 449.2 MB, free: 24.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.3555, allocations: 37.66 kB / 449.2 MB, free: 24.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.3556, allocations: 28.41 kB / 449.2 MB, free: 24.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.3567, allocations: 0.6266 MB / 449.9 MB, free: 24.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004922/0.3616, allocations: 3.878 MB / 453.7 MB, free: 21.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.3622, allocations: 338.4 kB / 454.1 MB, free: 21.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.3625, allocations: 136.1 kB / 454.2 MB, free: 21.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.3625, allocations: 6.375 kB / 454.2 MB, free: 21.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3625, allocations: 44.66 kB / 454.3 MB, free: 21.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.785e-06/0.3625, allocations: 0 / 454.3 MB, free: 21.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002245/0.3648, allocations: 1.206 MB / 455.5 MB, free: 20.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3648, allocations: 82.22 kB / 455.5 MB, free: 20.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.366, allocations: 0.8219 MB / 456.4 MB, free: 20.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.366, allocations: 35.61 kB / 456.4 MB, free: 20.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.3664, allocations: 0.585 MB / 457 MB, free: 19.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/0.3665, allocations: 140 kB / 457.1 MB, free: 19.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.3666, allocations: 122.8 kB / 457.2 MB, free: 19.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.3667, allocations: 333.9 kB / 457.6 MB, free: 19.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.367, allocations: 148.8 kB / 457.7 MB, free: 19.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.3675, allocations: 460.1 kB / 458.2 MB, free: 18.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.3682, allocations: 0.6313 MB / 458.8 MB, free: 18.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3682, allocations: 3.156 kB / 458.8 MB, free: 18.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00125/0.3694, allocations: 0.6964 MB / 459.5 MB, free: 18.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.3695, allocations: 10.03 kB / 459.5 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.3695, allocations: 10.38 kB / 459.5 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.3697, allocations: 34.84 kB / 459.6 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.3702, allocations: 160.9 kB / 459.7 MB, free: 18.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000843/0.3711, allocations: 1.388 MB / 461.1 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/0.3717, allocations: 38.77 kB / 461.1 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.3717, allocations: 32.06 kB / 461.2 MB, free: 16.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004113/0.3721, allocations: 253.4 kB / 461.4 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.3723, allocations: 91.53 kB / 461.5 MB, free: 16.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007308/0.373, allocations: 378 kB / 461.9 MB, free: 16.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.373, allocations: 4 kB / 461.9 MB, free: 16.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.373, allocations: 0.75 kB / 461.9 MB, free: 16.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.373, allocations: 3.391 kB / 461.9 MB, free: 16.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.3751, allocations: 1.268 MB / 463.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3751, allocations: 2.594 kB / 463.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.3754, allocations: 78.44 kB / 463.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.326e-05/0.3755, allocations: 21.89 kB / 463.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.3755, allocations: 23.2 kB / 463.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006696/0.3762, allocations: 1.365 MB / 464.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3762, allocations: 6.781 kB / 464.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.3772, allocations: 0.6337 MB / 465.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.3775, allocations: 188.8 kB / 465.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/0.3776, allocations: 7.734 kB / 465.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.378, allocations: 26.34 kB / 465.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.3781, allocations: 29 kB / 465.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.3781, allocations: 13.34 kB / 465.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008296/0.3789, allocations: 0.5594 MB / 466.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3789, allocations: 1 kB / 466.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009159/0.3798, allocations: 187.9 kB / 466.3 MB, free: 13.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0002274/0.3801, allocations: 128.3 kB / 466.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3811, allocations: 0.4991 MB / 466.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3811, allocations: 1.344 kB / 466.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.3815, allocations: 257.3 kB / 467.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.3825, allocations: 218.8 kB / 467.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.3851, allocations: 1.747 MB / 469.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.3857, allocations: 1.006 MB / 470.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.3858, allocations: 56.94 kB / 470.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3858, allocations: 0 / 470.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of Templates: time 0.02597/0.4118, allocations: 15.91 MB / 486.1 MB, free: 3.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.938720683014253]