Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 51.92 kB / 368.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2414, allocations: 52.14 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009756/0.2512, allocations: 8.041 MB / 428.9 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00464/0.2558, allocations: 2.633 MB / 431.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.2564, allocations: 20 kB / 431.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.2576, allocations: 0.5278 MB / 432.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008605/0.2585, allocations: 436.8 kB / 432.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.2589, allocations: 211.6 kB / 432.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.2601, allocations: 1.237 MB / 434 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005506/0.2607, allocations: 370.1 kB / 434.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005374/0.2612, allocations: 482.1 kB / 434.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006116/0.2618, allocations: 0.5211 MB / 435.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.2619, allocations: 116 kB / 435.4 MB, free: 452 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.2622, allocations: 152 kB / 435.6 MB, free: 300 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.2624, allocations: 243.1 kB / 435.8 MB, free: 56 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.2629, allocations: 0.5599 MB / 436.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.2645, allocations: 1.465 MB / 437.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2645, allocations: 3.938 kB / 437.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2645, allocations: 4 kB / 437.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.2645, allocations: 3.938 kB / 437.9 MB, free: 14.01 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.002202/0.2667, allocations: 1.327 MB / 439.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2668, allocations: 11.89 kB / 439.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004986/0.2673, allocations: 160.1 kB / 439.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.2683, allocations: 0.646 MB / 440 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.2684, allocations: 58.38 kB / 440.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.2685, allocations: 91.89 kB / 440.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.27, allocations: 0.8184 MB / 441 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.27, allocations: 0 / 441 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.222e-05/0.2701, allocations: 39.94 kB / 441 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.2701, allocations: 20 kB / 441 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.2712, allocations: 0.5426 MB / 441.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004692/0.2759, allocations: 3.567 MB / 445.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.2765, allocations: 238.7 kB / 445.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.2767, allocations: 108.8 kB / 445.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.2768, allocations: 4 kB / 445.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.2768, allocations: 38.56 kB / 445.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.2768, allocations: 0 / 445.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002115/0.2789, allocations: 1.084 MB / 446.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.279, allocations: 85.05 kB / 446.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.28, allocations: 0.7663 MB / 447.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.28, allocations: 29.7 kB / 447.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.2804, allocations: 0.5228 MB / 448 MB, free: 3.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.2805, allocations: 123 kB / 448.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.2807, allocations: 122.2 kB / 448.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.2809, allocations: 382.8 kB / 448.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.2812, allocations: 129.2 kB / 448.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.2817, allocations: 450.2 kB / 449.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008527/0.2825, allocations: 0.6063 MB / 449.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.2825, allocations: 4 kB / 449.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00114/0.2837, allocations: 0.6538 MB / 450.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2837, allocations: 12 kB / 450.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.2837, allocations: 15.94 kB / 450.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.2839, allocations: 29.55 kB / 450.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.2843, allocations: 155.7 kB / 450.6 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.2855, allocations: 1.386 MB / 452 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.2859, allocations: 39.94 kB / 452.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.286, allocations: 35.98 kB / 452.1 MB, free: 14.79 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.0003023/0.2863, allocations: 245.5 kB / 452.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.2864, allocations: 87.42 kB / 452.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006832/0.287, allocations: 329.9 kB / 452.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2871, allocations: 4 kB / 452.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2871, allocations: 0 / 452.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2871, allocations: 7.938 kB / 452.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.2887, allocations: 1.121 MB / 453.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2887, allocations: 224 / 453.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.289, allocations: 71.83 kB / 454 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.958e-05/0.2891, allocations: 20.86 kB / 454 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.2891, allocations: 11.98 kB / 454 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009986/0.2901, allocations: 1.371 MB / 455.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.2901, allocations: 7.969 kB / 455.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009462/0.2911, allocations: 0.5774 MB / 455.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.2913, allocations: 180.6 kB / 456.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.2914, allocations: 8 kB / 456.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.2917, allocations: 19.98 kB / 456.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.2918, allocations: 23.97 kB / 456.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2918, allocations: 12 kB / 456.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006746/0.2925, allocations: 0.5186 MB / 456.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2925, allocations: 4 kB / 456.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006222/0.2931, allocations: 171.9 kB / 456.9 MB, free: 9.723 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.0001856/0.2933, allocations: 123.1 kB / 457 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008862/0.2942, allocations: 480.4 kB / 457.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2942, allocations: 0 / 457.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004062/0.2946, allocations: 234.5 kB / 457.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.2955, allocations: 192.2 kB / 457.9 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.2977, allocations: 1.492 MB / 459.4 MB, free: 7.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.2983, allocations: 0.9526 MB / 460.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000285/0.2986, allocations: 90.17 kB / 460.4 MB, free: 6.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.2987, allocations: 47.44 kB / 460.5 MB, free: 6.016 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2987, allocations: 4 kB / 460.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of Templates: time 0.01666/0.3154, allocations: 8.833 MB / 469.3 MB, free: 13.29 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.861204073764384]