Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009127/0.0009128, allocations: 174.6 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 222.9 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008156/0.0008157, allocations: 101.5 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2696, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.00631/0.276, allocations: 6.972 MB / 382.1 MB, free: 39.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003938/0.2799, allocations: 2.451 MB / 384.5 MB, free: 37.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006412/0.2806, allocations: 19.97 kB / 384.5 MB, free: 37.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.2818, allocations: 422.1 kB / 385 MB, free: 37.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008375/0.2826, allocations: 333.3 kB / 385.3 MB, free: 37.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.283, allocations: 150.2 kB / 385.4 MB, free: 37.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.2844, allocations: 1.14 MB / 386.6 MB, free: 36.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007927/0.2852, allocations: 466.1 kB / 387 MB, free: 36.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.2859, allocations: 383.4 kB / 387.4 MB, free: 36.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.2864, allocations: 442.8 kB / 387.8 MB, free: 35.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.2865, allocations: 54.59 kB / 387.9 MB, free: 35.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.2868, allocations: 93.03 kB / 388 MB, free: 35.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2869, allocations: 159.9 kB / 388.1 MB, free: 35.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.2873, allocations: 0.4948 MB / 388.6 MB, free: 35.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.288, allocations: 1.137 MB / 389.8 MB, free: 33.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.288, allocations: 0 / 389.8 MB, free: 33.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.288, allocations: 0 / 389.8 MB, free: 33.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.288, allocations: 4 kB / 389.8 MB, free: 33.98 MB / 298.7 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.001638/0.2897, allocations: 1.149 MB / 390.9 MB, free: 32.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2897, allocations: 12.02 kB / 390.9 MB, free: 32.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004213/0.2901, allocations: 143.6 kB / 391.1 MB, free: 32.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007602/0.2909, allocations: 0.6338 MB / 391.7 MB, free: 31.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.2909, allocations: 66.38 kB / 391.8 MB, free: 31.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/0.2911, allocations: 95.78 kB / 391.9 MB, free: 31.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.2922, allocations: 0.8184 MB / 392.7 MB, free: 30.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.2922, allocations: 7.938 kB / 392.7 MB, free: 30.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.2923, allocations: 36 kB / 392.7 MB, free: 30.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.2923, allocations: 20 kB / 392.7 MB, free: 30.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/0.2932, allocations: 0.5504 MB / 393.3 MB, free: 30.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.2967, allocations: 3.597 MB / 396.9 MB, free: 26.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.2972, allocations: 246.6 kB / 397.1 MB, free: 26.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.2974, allocations: 125.7 kB / 397.3 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.2975, allocations: 4 kB / 397.3 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.2975, allocations: 34.56 kB / 397.3 MB, free: 26.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.2975, allocations: 0 / 397.3 MB, free: 26.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001796/0.2993, allocations: 1.107 MB / 398.4 MB, free: 24.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2994, allocations: 93.05 kB / 398.5 MB, free: 24.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.3001, allocations: 0.7545 MB / 399.2 MB, free: 24.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3002, allocations: 29.7 kB / 399.3 MB, free: 23.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.3004, allocations: 0.5136 MB / 399.8 MB, free: 23.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.3004, allocations: 106.5 kB / 399.9 MB, free: 23.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.3005, allocations: 15.94 kB / 399.9 MB, free: 23.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.3006, allocations: 382.8 kB / 400.3 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.3008, allocations: 137.2 kB / 400.4 MB, free: 22.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.3012, allocations: 454.2 kB / 400.9 MB, free: 22.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006157/0.3018, allocations: 0.6301 MB / 401.5 MB, free: 21.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3018, allocations: 4 kB / 401.5 MB, free: 21.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008814/0.3027, allocations: 0.6538 MB / 402.1 MB, free: 20.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3027, allocations: 12 kB / 402.2 MB, free: 20.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.3028, allocations: 19.92 kB / 402.2 MB, free: 20.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.3029, allocations: 24.86 kB / 402.2 MB, free: 20.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.3033, allocations: 160.1 kB / 402.4 MB, free: 20.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006635/0.304, allocations: 1.291 MB / 403.6 MB, free: 19.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.3044, allocations: 44.05 kB / 403.7 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.3045, allocations: 36 kB / 403.7 MB, free: 19.05 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002847/0.3048, allocations: 241.5 kB / 404 MB, free: 18.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.3049, allocations: 71.16 kB / 404 MB, free: 18.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.3054, allocations: 358 kB / 404.4 MB, free: 18.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3055, allocations: 4 kB / 404.4 MB, free: 18.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3055, allocations: 4 kB / 404.4 MB, free: 18.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3055, allocations: 3.984 kB / 404.4 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.3068, allocations: 1.133 MB / 405.5 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3068, allocations: 0 / 405.5 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.307, allocations: 68.19 kB / 405.6 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.309e-05/0.3071, allocations: 28.78 kB / 405.6 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.3071, allocations: 4 kB / 405.6 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005792/0.3077, allocations: 1.284 MB / 406.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3077, allocations: 4 kB / 406.9 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.3085, allocations: 0.5916 MB / 407.5 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.3087, allocations: 176.2 kB / 407.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.362e-05/0.3088, allocations: 8 kB / 407.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.3091, allocations: 35.91 kB / 407.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.3092, allocations: 23.97 kB / 407.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3092, allocations: 8 kB / 407.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005313/0.3097, allocations: 0.5069 MB / 408.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3097, allocations: 0 / 408.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006204/0.3103, allocations: 176 kB / 408.4 MB, free: 14.05 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/0.3105, allocations: 119.1 kB / 408.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007573/0.3113, allocations: 0.4921 MB / 409 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3113, allocations: 0 / 409 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.3116, allocations: 239.8 kB / 409.3 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3127, allocations: 186.5 kB / 409.5 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.3147, allocations: 1.834 MB / 411.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.315, allocations: 0.9565 MB / 412.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.3151, allocations: 55.42 kB / 412.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3151, allocations: 0 / 412.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of Templates: time 0.01451/0.3297, allocations: 13.66 MB / 426 MB, free: 12.42 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches