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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001777/0.001777, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002266/0.002266, allocations: 216.1 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.2 MB / 256.7 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] 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.001884/0.001884, allocations: 63.88 kB / 376.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2746, allocations: 53.32 MB / 430.2 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01204/0.2866, allocations: 8.012 MB / 438.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005088/0.2917, allocations: 2.656 MB / 440.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000964/0.2927, allocations: 23.94 kB / 440.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.2942, allocations: 0.5259 MB / 441.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.2954, allocations: 436.8 kB / 441.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.296, allocations: 227.6 kB / 442.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.2976, allocations: 1.23 MB / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006341/0.2982, allocations: 374 kB / 443.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000809/0.299, allocations: 494 kB / 444.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006553/0.2997, allocations: 0.5134 MB / 444.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.2998, allocations: 116 kB / 444.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.3002, allocations: 156 kB / 444.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.3004, allocations: 231.2 kB / 445.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005858/0.3009, allocations: 0.5676 MB / 445.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.3027, allocations: 1.478 MB / 447.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3027, allocations: 0 / 447.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3027, allocations: 0 / 447.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.3027, allocations: 0 / 447.2 MB, free: 6.426 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.002462/0.3052, allocations: 1.331 MB / 448.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3052, allocations: 8.031 kB / 448.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007088/0.3059, allocations: 180.2 kB / 448.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.3071, allocations: 0.646 MB / 449.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/0.3071, allocations: 62.38 kB / 449.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.3072, allocations: 91.92 kB / 449.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.3087, allocations: 0.8223 MB / 450.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.3087, allocations: 7.953 kB / 450.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/0.3088, allocations: 35.94 kB / 450.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.3088, allocations: 20 kB / 450.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.3099, allocations: 0.5465 MB / 450.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004916/0.3148, allocations: 3.56 MB / 454.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.3154, allocations: 226.7 kB / 454.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.3156, allocations: 108.8 kB / 454.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3156, allocations: 4 kB / 454.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.3157, allocations: 38.48 kB / 454.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.455e-06/0.3157, allocations: 0 / 454.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002243/0.3179, allocations: 1.098 MB / 456 MB, free: 13.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.318, allocations: 81.05 kB / 456.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.319, allocations: 0.7586 MB / 456.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.3191, allocations: 37.7 kB / 456.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.3195, allocations: 0.5306 MB / 457.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.3196, allocations: 111 kB / 457.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3198, allocations: 122.2 kB / 457.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.32, allocations: 378.8 kB / 458 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.3203, allocations: 133.2 kB / 458.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005367/0.3208, allocations: 450.2 kB / 458.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009843/0.3218, allocations: 0.6177 MB / 459.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3218, allocations: 0 / 459.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00119/0.323, allocations: 0.6509 MB / 459.8 MB, free: 9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.323, allocations: 15.88 kB / 459.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.323, allocations: 12 kB / 459.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.3232, allocations: 40.88 kB / 459.9 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.3237, allocations: 147.7 kB / 460 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.3248, allocations: 1.394 MB / 461.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.3254, allocations: 39.94 kB / 461.5 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.3254, allocations: 32.09 kB / 461.5 MB, free: 7.184 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.0003625/0.3258, allocations: 249.5 kB / 461.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.3259, allocations: 83.47 kB / 461.8 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007234/0.3266, allocations: 326 kB / 462.1 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3266, allocations: 4 kB / 462.1 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3266, allocations: 7.938 kB / 462.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3266, allocations: 3.984 kB / 462.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.3284, allocations: 1.113 MB / 463.3 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3284, allocations: 4 kB / 463.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.3287, allocations: 59.91 kB / 463.3 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.012e-05/0.3288, allocations: 20.84 kB / 463.3 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3288, allocations: 8 kB / 463.4 MB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.33, allocations: 1.375 MB / 464.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.33, allocations: 4.094 kB / 464.7 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.331, allocations: 0.5877 MB / 465.3 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.3313, allocations: 176.6 kB / 465.5 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.3313, allocations: 15.92 kB / 465.5 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.3317, allocations: 19.98 kB / 465.5 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.3317, allocations: 27.97 kB / 465.6 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3318, allocations: 12 kB / 465.6 MB, free: 2.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007261/0.3325, allocations: 0.5185 MB / 466.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3325, allocations: 0 / 466.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007195/0.3332, allocations: 172 kB / 466.2 MB, free: 2.113 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.0002558/0.3335, allocations: 131.1 kB / 466.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.3345, allocations: 476.5 kB / 466.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3345, allocations: 0 / 466.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.3349, allocations: 239.9 kB / 467.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009177/0.3358, allocations: 186 kB / 467.3 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.3385, allocations: 1.528 MB / 468.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.3392, allocations: 0.9526 MB / 469.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3393, allocations: 55.42 kB / 469.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3393, allocations: 0 / 469.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of Templates: time 0.02192/0.3613, allocations: 13.98 MB / 483.8 MB, free: 0.5 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