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.0014/0.0014, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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: 213.2 kB / 24.54 MB, free: 4.02 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.43/1.43, allocations: 230.3 MB / 258 MB, free: 8.207 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.001954/0.001954, allocations: 67.89 kB / 378.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2486, allocations: 53.37 MB / 432.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01012/0.2587, allocations: 8.055 MB / 440.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004392/0.2631, allocations: 2.668 MB / 442.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004678/0.2636, allocations: 27.88 kB / 442.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.2648, allocations: 0.5224 MB / 443.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008709/0.2657, allocations: 428.8 kB / 443.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.2661, allocations: 223.6 kB / 444.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.2675, allocations: 1.241 MB / 445.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.2681, allocations: 370.5 kB / 445.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006469/0.2687, allocations: 0.4903 MB / 446.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006904/0.2694, allocations: 0.5172 MB / 446.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.2696, allocations: 116 kB / 446.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.2699, allocations: 152 kB / 446.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.2701, allocations: 247.1 kB / 447.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006325/0.2707, allocations: 0.556 MB / 447.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.2724, allocations: 1.475 MB / 449.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2724, allocations: 0 / 449.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2724, allocations: 0 / 449.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.2724, allocations: 0 / 449.2 MB, free: 6.074 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.002353/0.2748, allocations: 1.264 MB / 450.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2748, allocations: 8.031 kB / 450.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000739/0.2755, allocations: 180.2 kB / 450.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.2766, allocations: 0.5726 MB / 451.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.2767, allocations: 62.38 kB / 451.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.2768, allocations: 95.92 kB / 451.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.2783, allocations: 0.8145 MB / 452.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.2784, allocations: 11.95 kB / 452.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.2785, allocations: 32 kB / 452.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.2785, allocations: 23.94 kB / 452.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.2796, allocations: 0.5465 MB / 452.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004698/0.2843, allocations: 3.461 MB / 456.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.2849, allocations: 230.7 kB / 456.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.2852, allocations: 100.8 kB / 456.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.2852, allocations: 11.92 kB / 456.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/0.2852, allocations: 42.55 kB / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.2853, allocations: 0 / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.00214/0.2874, allocations: 0.9346 MB / 457.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.2875, allocations: 89.05 kB / 457.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.2885, allocations: 0.7585 MB / 458.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.2885, allocations: 37.7 kB / 458.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.289, allocations: 0.5306 MB / 459 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2891, allocations: 111.1 kB / 459.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.2893, allocations: 122.2 kB / 459.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.2895, allocations: 382.8 kB / 459.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.2898, allocations: 129.2 kB / 459.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/0.2904, allocations: 450.2 kB / 460.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009478/0.2913, allocations: 0.6138 MB / 460.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.2913, allocations: 4 kB / 460.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001228/0.2926, allocations: 0.6547 MB / 461.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2926, allocations: 8 kB / 461.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.2926, allocations: 16 kB / 461.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.2928, allocations: 36.84 kB / 461.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.2933, allocations: 151.7 kB / 461.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.2945, allocations: 1.283 MB / 462.9 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.2949, allocations: 43.94 kB / 463 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.295, allocations: 28.09 kB / 463 MB, free: 7.422 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.0003303/0.2953, allocations: 249.5 kB / 463.2 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.2954, allocations: 79.48 kB / 463.3 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007365/0.2962, allocations: 330 kB / 463.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.2962, allocations: 7.938 kB / 463.6 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2962, allocations: 8 kB / 463.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.2962, allocations: 7.922 kB / 463.7 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.298, allocations: 1.077 MB / 464.7 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.298, allocations: 7.984 kB / 464.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.2983, allocations: 63.89 kB / 464.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.831e-05/0.2984, allocations: 16.86 kB / 464.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.2984, allocations: 8 kB / 464.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.2995, allocations: 1.275 MB / 466.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.2995, allocations: 8.094 kB / 466.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.3005, allocations: 0.58 MB / 466.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.3008, allocations: 107.4 kB / 466.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/0.3008, allocations: 8 kB / 466.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.3012, allocations: 23.91 kB / 466.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.3013, allocations: 27.97 kB / 466.9 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3013, allocations: 11.98 kB / 466.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007403/0.302, allocations: 0.5147 MB / 467.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.302, allocations: 0 / 467.4 MB, free: 2.777 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006767/0.3027, allocations: 175.9 kB / 467.6 MB, free: 2.605 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.0001989/0.3029, allocations: 119.1 kB / 467.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009835/0.3039, allocations: 468.6 kB / 468.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3039, allocations: 4 kB / 468.1 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.3043, allocations: 243.9 kB / 468.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.3053, allocations: 190.8 kB / 468.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.3078, allocations: 1.486 MB / 470 MB, free: 40 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/0.3085, allocations: 0.9526 MB / 471 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.3088, allocations: 90.17 kB / 471.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.3089, allocations: 55.42 kB / 471.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3089, allocations: 0 / 471.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01807/0.327, allocations: 9.026 MB / 480.2 MB, free: 5.973 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.939820786938071]