Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 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=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 106.1 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 190.3 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08594/0.08707, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.1703/0.2574, allocations: 7.921 MB / 383.7 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.2616, allocations: 2.615 MB / 386.4 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000987/0.2627, allocations: 23.91 kB / 386.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.264, allocations: 0.4992 MB / 386.9 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009497/0.265, allocations: 403.5 kB / 387.3 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.2655, allocations: 221.3 kB / 387.5 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.2665, allocations: 1.233 MB / 388.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000631/0.2672, allocations: 0.5316 MB / 389.3 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.2677, allocations: 481.7 kB / 389.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.2683, allocations: 0.5188 MB / 390.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.2684, allocations: 114.9 kB / 390.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.2687, allocations: 154.9 kB / 390.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.2689, allocations: 233.2 kB / 390.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.2693, allocations: 0.5607 MB / 391.3 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.2707, allocations: 1.46 MB / 392.8 MB, free: 4.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2707, allocations: 1.125 kB / 392.8 MB, free: 4.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2707, allocations: 0 / 392.8 MB, free: 4.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.2707, allocations: 4 kB / 392.8 MB, free: 4.789 MB / 318.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.001857/0.2726, allocations: 1.313 MB / 394.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2726, allocations: 13.36 kB / 394.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004477/0.2731, allocations: 148.4 kB / 394.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.2739, allocations: 0.6449 MB / 394.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.274, allocations: 64.31 kB / 394.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2741, allocations: 88.27 kB / 395 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2753, allocations: 0.8189 MB / 395.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.2754, allocations: 2.719 kB / 395.9 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/0.2754, allocations: 31.72 kB / 395.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.2755, allocations: 21.28 kB / 395.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009439/0.2764, allocations: 0.5438 MB / 396.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.2799, allocations: 3.552 MB / 400 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.2804, allocations: 242.8 kB / 400.2 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.2807, allocations: 121.3 kB / 400.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.2807, allocations: 7.594 kB / 400.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2808, allocations: 34.56 kB / 400.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.2808, allocations: 7.875 kB / 400.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001923/0.2827, allocations: 1.063 MB / 401.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.2828, allocations: 84.7 kB / 401.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/0.2836, allocations: 0.7645 MB / 402.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.2837, allocations: 32.05 kB / 402.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.284, allocations: 0.5118 MB / 402.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/0.2841, allocations: 116 kB / 403 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.2842, allocations: 126 kB / 403.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.2844, allocations: 382.7 kB / 403.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.2847, allocations: 131.8 kB / 403.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.2852, allocations: 446 kB / 404 MB, free: 13.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/0.2859, allocations: 0.6136 MB / 404.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2859, allocations: 2.75 kB / 404.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001043/0.287, allocations: 0.6439 MB / 405.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.287, allocations: 10.94 kB / 405.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.287, allocations: 22.08 kB / 405.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.2872, allocations: 39.64 kB / 405.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.2876, allocations: 153.1 kB / 405.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009949/0.2886, allocations: 1.392 MB / 406.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.2891, allocations: 42.75 kB / 406.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.2892, allocations: 32.05 kB / 407 MB, free: 10.96 MB / 334.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.0003035/0.2895, allocations: 238.2 kB / 407.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.2896, allocations: 79.25 kB / 407.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/0.2902, allocations: 330.4 kB / 407.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2903, allocations: 3.812 kB / 407.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2903, allocations: 0 / 407.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2903, allocations: 3.938 kB / 407.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.2919, allocations: 1.124 MB / 408.7 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2919, allocations: 1.25 kB / 408.7 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.2922, allocations: 67.33 kB / 408.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-05/0.2923, allocations: 23.19 kB / 408.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.2923, allocations: 7.938 kB / 408.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008715/0.2932, allocations: 1.373 MB / 410.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2932, allocations: 2.594 kB / 410.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.2941, allocations: 0.5749 MB / 410.8 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.2943, allocations: 182 kB / 411 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/0.2944, allocations: 11.81 kB / 411 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.2948, allocations: 19.86 kB / 411 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.2948, allocations: 25.78 kB / 411 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.2949, allocations: 7.906 kB / 411 MB, free: 7.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006492/0.2955, allocations: 0.5234 MB / 411.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2955, allocations: 0 / 411.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006467/0.2962, allocations: 174.2 kB / 411.7 MB, free: 7.246 MB / 334.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.000185/0.2964, allocations: 118.1 kB / 411.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008389/0.2972, allocations: 480.2 kB / 412.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2972, allocations: 1.406 kB / 412.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.2976, allocations: 245.7 kB / 412.5 MB, free: 6.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.2985, allocations: 189.6 kB / 412.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.3009, allocations: 1.489 MB / 414.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.3015, allocations: 0.951 MB / 415.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3017, allocations: 56.48 kB / 415.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3017, allocations: 3.938 kB / 415.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Templates: time 0.01864/0.3203, allocations: 13.9 MB / 429.1 MB, free: 9.031 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches