Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001429/0.001429, allocations: 111 kB / 21.18 MB, free: 0.668 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.002324/0.002324, allocations: 209 kB / 24.48 MB, free: 3.969 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.694/1.694, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3684, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01394/0.3824, allocations: 7.071 MB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006784/0.3892, allocations: 2.474 MB / 441.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.3906, allocations: 27.88 kB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.3926, allocations: 488.1 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.3943, allocations: 428.8 kB / 442.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.395, allocations: 223.6 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.3971, allocations: 1.233 MB / 444.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007789/0.3979, allocations: 370.5 kB / 444.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009089/0.3988, allocations: 0.4942 MB / 445.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008088/0.3996, allocations: 0.5134 MB / 445.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.3998, allocations: 120 kB / 445.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.4002, allocations: 160 kB / 445.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.4004, allocations: 239.1 kB / 446.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005696/0.401, allocations: 469.9 kB / 446.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.4032, allocations: 1.482 MB / 448.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.4033, allocations: 0 / 448.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4033, allocations: 0 / 448.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.4033, allocations: 0 / 448.1 MB, free: 6.906 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00288/0.4062, allocations: 1.251 MB / 449.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.4062, allocations: 8.031 kB / 449.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/0.4071, allocations: 184.2 kB / 449.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.4087, allocations: 0.5803 MB / 450.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.911e-05/0.4088, allocations: 70.38 kB / 450.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.4089, allocations: 91.94 kB / 450.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.4108, allocations: 0.8686 MB / 451.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.008e-05/0.4108, allocations: 15.88 kB / 451.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/0.4109, allocations: 32 kB / 451.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.4109, allocations: 24 kB / 451.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.4121, allocations: 0.5348 MB / 451.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005047/0.4172, allocations: 2.937 MB / 454.7 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/0.4178, allocations: 226.7 kB / 454.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.4181, allocations: 112.8 kB / 455 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.4181, allocations: 0 / 455 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.4181, allocations: 38.56 kB / 455 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.4181, allocations: 0 / 455 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002682/0.4208, allocations: 0.928 MB / 456 MB, free: 14.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4209, allocations: 85.11 kB / 456 MB, free: 14.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.422, allocations: 0.6875 MB / 456.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.4221, allocations: 33.7 kB / 456.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.4225, allocations: 0.542 MB / 457.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.4226, allocations: 115 kB / 457.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.4228, allocations: 122.2 kB / 457.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.423, allocations: 370.8 kB / 457.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.4233, allocations: 129.2 kB / 458 MB, free: 12.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.4239, allocations: 475.9 kB / 458.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/0.4249, allocations: 0.6215 MB / 459.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.4249, allocations: 7.938 kB / 459.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001262/0.4261, allocations: 0.6469 MB / 459.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4262, allocations: 8 kB / 459.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.4262, allocations: 12 kB / 459.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.4264, allocations: 36.78 kB / 459.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/0.4269, allocations: 155.7 kB / 460 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.4281, allocations: 1.256 MB / 461.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.4287, allocations: 47.89 kB / 461.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.4287, allocations: 32 kB / 461.3 MB, free: 8.859 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0004022/0.4291, allocations: 243.6 kB / 461.5 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.4293, allocations: 71.58 kB / 461.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007323/0.43, allocations: 325.1 kB / 461.9 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.43, allocations: 4 kB / 461.9 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.43, allocations: 0 / 461.9 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.43, allocations: 3.984 kB / 461.9 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.4317, allocations: 0.922 MB / 462.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4317, allocations: 0 / 462.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.4321, allocations: 63.91 kB / 462.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/0.4322, allocations: 28.78 kB / 462.9 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.4322, allocations: 8 kB / 463 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.4335, allocations: 1.249 MB / 464.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.4335, allocations: 4.031 kB / 464.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.4347, allocations: 0.5683 MB / 464.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/0.435, allocations: 91.66 kB / 464.9 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-05/0.4351, allocations: 12 kB / 464.9 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.4355, allocations: 19.98 kB / 464.9 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4356, allocations: 27.89 kB / 464.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.4356, allocations: 12 kB / 464.9 MB, free: 4.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007748/0.4364, allocations: 463 kB / 465.4 MB, free: 4.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4364, allocations: 0 / 465.4 MB, free: 4.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000872/0.4373, allocations: 172 kB / 465.6 MB, free: 4.375 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (28): * Single equations (assignments): 27 * 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.000272/0.4375, allocations: 123.1 kB / 465.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.4387, allocations: 480.2 kB / 466.1 MB, free: 3.766 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4387, allocations: 3.938 kB / 466.2 MB, free: 3.762 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.4392, allocations: 243.4 kB / 466.4 MB, free: 3.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/0.4402, allocations: 174.2 kB / 466.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.4432, allocations: 1.478 MB / 468 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.4437, allocations: 361.1 kB / 468.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004063/0.4441, allocations: 85.55 kB / 468.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.4442, allocations: 47.44 kB / 468.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4442, allocations: 0 / 468.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of Templates: time 0.01953/0.4637, allocations: 9.704 MB / 478.2 MB, free: 7.793 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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: 5.72646236300352]