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.001695/0.001695, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002134/0.002134, allocations: 217 kB / 24.5 MB, free: 4.133 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.5 MB / 258.1 MB, free: 8.004 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.001894/0.001894, allocations: 59.89 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2385, allocations: 53.41 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01019/0.2487, allocations: 8.054 MB / 440.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.2538, allocations: 2.672 MB / 443.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.2548, allocations: 23.94 kB / 443.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.2564, allocations: 0.5204 MB / 443.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.2576, allocations: 436.8 kB / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.2581, allocations: 227.5 kB / 444.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.2596, allocations: 1.234 MB / 445.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006719/0.2603, allocations: 376.2 kB / 446 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007437/0.261, allocations: 0.4903 MB / 446.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.2617, allocations: 0.5173 MB / 447 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.2619, allocations: 116 kB / 447.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.2622, allocations: 156 kB / 447.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.2624, allocations: 231.2 kB / 447.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005695/0.2629, allocations: 0.5754 MB / 448 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.2646, allocations: 1.463 MB / 449.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2646, allocations: 0 / 449.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2646, allocations: 0 / 449.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.2646, allocations: 4 kB / 449.5 MB, free: 5.609 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.002206/0.2668, allocations: 1.26 MB / 450.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2669, allocations: 15.97 kB / 450.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007191/0.2676, allocations: 184.2 kB / 451 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2687, allocations: 0.5764 MB / 451.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.623e-05/0.2687, allocations: 62.38 kB / 451.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.2689, allocations: 91.92 kB / 451.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.2703, allocations: 0.8184 MB / 452.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.2703, allocations: 3.953 kB / 452.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.922e-05/0.2704, allocations: 36 kB / 452.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.2704, allocations: 24 kB / 452.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2715, allocations: 0.5387 MB / 453.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/0.276, allocations: 3.453 MB / 456.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.2765, allocations: 229.4 kB / 456.8 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.2768, allocations: 108.8 kB / 456.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.2768, allocations: 4 kB / 456.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.2768, allocations: 38.5 kB / 456.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.023e-06/0.2768, allocations: 0 / 456.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002071/0.2789, allocations: 0.9426 MB / 457.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.279, allocations: 85.05 kB / 458 MB, free: 12.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.28, allocations: 0.7663 MB / 458.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.28, allocations: 29.7 kB / 458.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/0.2804, allocations: 0.5267 MB / 459.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.2805, allocations: 115.1 kB / 459.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.2807, allocations: 126.1 kB / 459.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.2809, allocations: 386.8 kB / 459.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.2812, allocations: 133.2 kB / 460 MB, free: 10.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.2817, allocations: 442.2 kB / 460.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008517/0.2825, allocations: 0.6177 MB / 461.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2825, allocations: 8 kB / 461.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001145/0.2837, allocations: 0.6467 MB / 461.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.2837, allocations: 15.94 kB / 461.7 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.2837, allocations: 12 kB / 461.8 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.2839, allocations: 40.81 kB / 461.8 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.2844, allocations: 151.7 kB / 461.9 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.2855, allocations: 1.287 MB / 463.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.2859, allocations: 40.09 kB / 463.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.286, allocations: 36 kB / 463.3 MB, free: 6.949 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.0003493/0.2863, allocations: 241.5 kB / 463.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.2865, allocations: 75.53 kB / 463.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.2872, allocations: 337.9 kB / 463.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2872, allocations: 0 / 463.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2872, allocations: 7.938 kB / 463.9 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.2872, allocations: 0 / 463.9 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.2889, allocations: 1.089 MB / 465 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2889, allocations: 0 / 465 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.2892, allocations: 59.91 kB / 465.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.2893, allocations: 29.06 kB / 465.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.2893, allocations: 8 kB / 465.1 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.2904, allocations: 1.279 MB / 466.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2904, allocations: 0 / 466.4 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009977/0.2914, allocations: 0.5761 MB / 467 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.2916, allocations: 99.48 kB / 467.1 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.998e-05/0.2917, allocations: 12 kB / 467.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.2921, allocations: 23.97 kB / 467.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.2921, allocations: 23.91 kB / 467.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.2921, allocations: 15.98 kB / 467.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000723/0.2929, allocations: 0.5185 MB / 467.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2929, allocations: 0 / 467.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007187/0.2936, allocations: 175.9 kB / 467.8 MB, free: 2.148 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.0002164/0.2938, allocations: 123.1 kB / 468 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009714/0.2948, allocations: 461.5 kB / 468.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2948, allocations: 192 / 468.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.2952, allocations: 242.4 kB / 468.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000913/0.2961, allocations: 201.1 kB / 468.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.2987, allocations: 1.522 MB / 470.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.2994, allocations: 0.9526 MB / 471.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2995, allocations: 55.42 kB / 471.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2995, allocations: 0 / 471.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of Templates: time 0.02083/0.3203, allocations: 13.97 MB / 485.4 MB, free: 0.5508 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/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_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: 8.798168269917369]