Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001249/0.001249, allocations: 107 kB / 19.8 MB, free: 2.5 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.001455/0.001455, allocations: 216.2 kB / 23 MB, free: 5.578 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.454/1.454, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 59.91 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2592, allocations: 53.33 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01018/0.2694, allocations: 8.048 MB / 437.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.2739, allocations: 2.664 MB / 440.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.2744, allocations: 27.94 kB / 440.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.2758, allocations: 0.5181 MB / 441.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009785/0.2767, allocations: 428.8 kB / 441.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.2772, allocations: 219.6 kB / 441.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.2787, allocations: 1.245 MB / 442.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006098/0.2793, allocations: 366.1 kB / 443.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007416/0.28, allocations: 490 kB / 443.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.2807, allocations: 0.5173 MB / 444.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.2809, allocations: 116 kB / 444.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.2812, allocations: 156 kB / 444.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.2814, allocations: 235.2 kB / 444.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005895/0.282, allocations: 0.5676 MB / 445.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.2837, allocations: 1.467 MB / 446.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2837, allocations: 0 / 446.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2837, allocations: 4 kB / 446.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.2837, allocations: 0 / 446.8 MB, free: 6.41 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.002226/0.286, allocations: 1.335 MB / 448.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.286, allocations: 8.031 kB / 448.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007284/0.2867, allocations: 184.2 kB / 448.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.2878, allocations: 0.646 MB / 449 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/0.2879, allocations: 66.36 kB / 449.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.288, allocations: 91.88 kB / 449.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.2894, allocations: 0.8223 MB / 450 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.2895, allocations: 3.953 kB / 450 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.299e-05/0.2895, allocations: 36 kB / 450 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/0.2896, allocations: 20 kB / 450 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.2907, allocations: 0.5426 MB / 450.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004642/0.2954, allocations: 3.564 MB / 454.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.296, allocations: 230.6 kB / 454.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.2962, allocations: 108.8 kB / 454.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.2963, allocations: 7.984 kB / 454.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.2963, allocations: 38.5 kB / 454.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 3.617e-06/0.2963, allocations: 0 / 454.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002383/0.2987, allocations: 1.09 MB / 455.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.2988, allocations: 85.05 kB / 455.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.2999, allocations: 0.7625 MB / 456.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.2999, allocations: 29.7 kB / 456.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.3003, allocations: 0.5267 MB / 457 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/0.3004, allocations: 119 kB / 457.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3006, allocations: 122.2 kB / 457.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.3008, allocations: 382.8 kB / 457.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.3011, allocations: 129.2 kB / 457.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.3016, allocations: 446.2 kB / 458.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009009/0.3025, allocations: 0.6177 MB / 458.8 MB, free: 9.637 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3025, allocations: 4 kB / 458.8 MB, free: 9.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001185/0.3037, allocations: 0.6461 MB / 459.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3037, allocations: 12 kB / 459.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.3038, allocations: 12.84 kB / 459.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.3039, allocations: 44.78 kB / 459.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.3044, allocations: 151.7 kB / 459.7 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.3056, allocations: 1.39 MB / 461.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.3061, allocations: 39.94 kB / 461.1 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.3062, allocations: 36 kB / 461.1 MB, free: 7.156 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.0003445/0.3065, allocations: 245.6 kB / 461.4 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3066, allocations: 83.47 kB / 461.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007181/0.3073, allocations: 322 kB / 461.8 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3074, allocations: 4 kB / 461.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3074, allocations: 0 / 461.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3074, allocations: 7.922 kB / 461.8 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.3091, allocations: 1.124 MB / 462.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3091, allocations: 0 / 462.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.3094, allocations: 67.91 kB / 463 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.577e-05/0.3095, allocations: 28.78 kB / 463 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3096, allocations: 8 kB / 463 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.3107, allocations: 1.367 MB / 464.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3107, allocations: 4.031 kB / 464.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009984/0.3117, allocations: 0.5801 MB / 465 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.3119, allocations: 184.5 kB / 465.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.745e-05/0.312, allocations: 11.98 kB / 465.1 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.3124, allocations: 19.98 kB / 465.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.3124, allocations: 27.91 kB / 465.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.3125, allocations: 12 kB / 465.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007316/0.3132, allocations: 0.5147 MB / 465.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3132, allocations: 0 / 465.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000686/0.3139, allocations: 171.9 kB / 465.9 MB, free: 2.09 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.0002053/0.3141, allocations: 123.1 kB / 466 MB, free: 1.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009209/0.315, allocations: 472.7 kB / 466.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.315, allocations: 0 / 466.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.3154, allocations: 243.8 kB / 466.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009012/0.3163, allocations: 193 kB / 466.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.3188, allocations: 1.487 MB / 468.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.3194, allocations: 0.9448 MB / 469.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.3197, allocations: 98.16 kB / 469.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3199, allocations: 55.44 kB / 469.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3199, allocations: 0 / 469.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of Templates: time 0.01763/0.3375, allocations: 8.851 MB / 478.3 MB, free: 5.621 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.954764270223677]