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_Start.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_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004155/0.004154, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 105.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.096e-05/2.105e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.331, allocations: 47.57 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.4758, allocations: 92.52 MB / 454.9 MB, free: 9.789 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.4762, allocations: 84.5 kB / 454.9 MB, free: 9.711 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.09675/0.573, allocations: 22.75 MB / 477.7 MB, free: 2.898 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.573, allocations: 0 / 477.7 MB, free: 2.898 MB / 363.1 MB Notification: Performance of Transformations before backend: time 6.457e-05/0.5731, allocations: 20 kB / 477.7 MB, free: 2.879 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002278/0.5754, allocations: 0.959 MB / 478.7 MB, free: 1.875 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5754, allocations: 12.03 kB / 478.7 MB, free: 1.863 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000753/0.5762, allocations: 142.7 kB / 478.8 MB, free: 1.723 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.5781, allocations: 0.6874 MB / 479.5 MB, free: 0.9883 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.5782, allocations: 32.66 kB / 479.5 MB, free: 0.957 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.5784, allocations: 44 kB / 479.6 MB, free: 0.9141 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001349/0.5797, allocations: 435.9 kB / 480 MB, free: 500 kB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.5814, allocations: 0.6233 MB / 480.6 MB, free: 15.84 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-05/0.5815, allocations: 15.84 kB / 480.7 MB, free: 15.82 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/0.5816, allocations: 0 / 480.7 MB, free: 15.82 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.5816, allocations: 23.94 kB / 480.7 MB, free: 15.8 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00657/0.5882, allocations: 3.298 MB / 484 MB, free: 12.3 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.5888, allocations: 202.6 kB / 484.2 MB, free: 12.09 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.589, allocations: 84.86 kB / 484.3 MB, free: 12.01 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.5891, allocations: 4 kB / 484.3 MB, free: 12 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.5891, allocations: 38.52 kB / 484.3 MB, free: 11.96 MB / 379.1 MB Notification: Performance of pre-optimization done (n=25): time 3.366e-06/0.5892, allocations: 0 / 484.3 MB, free: 11.96 MB / 379.1 MB Notification: Performance of matching and sorting (n=28): time 0.001944/0.5911, allocations: 0.748 MB / 485 MB, free: 11.15 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.5912, allocations: 89.34 kB / 485.1 MB, free: 11.05 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.5922, allocations: 0.519 MB / 485.7 MB, free: 10.52 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.5923, allocations: 29.7 kB / 485.7 MB, free: 10.48 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.5927, allocations: 0.5237 MB / 486.2 MB, free: 9.957 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.5929, allocations: 98.59 kB / 486.3 MB, free: 9.859 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.5929, allocations: 4 kB / 486.3 MB, free: 9.855 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5931, allocations: 330.8 kB / 486.6 MB, free: 9.523 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.5933, allocations: 93.56 kB / 486.7 MB, free: 9.434 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/0.5939, allocations: 393.6 kB / 487.1 MB, free: 8.906 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.5943, allocations: 158.1 kB / 487.3 MB, free: 8.754 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.5943, allocations: 4 kB / 487.3 MB, free: 8.75 MB / 379.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00123/0.5955, allocations: 474.9 kB / 487.7 MB, free: 8.277 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.5956, allocations: 10.66 kB / 487.7 MB, free: 8.27 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.5956, allocations: 8 kB / 487.7 MB, free: 8.262 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.5958, allocations: 32.84 kB / 487.8 MB, free: 8.227 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008642/0.5967, allocations: 147.8 kB / 487.9 MB, free: 8.082 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.5979, allocations: 1.241 MB / 489.2 MB, free: 6.727 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/0.5988, allocations: 32.05 kB / 489.2 MB, free: 6.695 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.5988, allocations: 32 kB / 489.2 MB, free: 6.664 MB / 379.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001655/0.599, allocations: 132.6 kB / 489.4 MB, free: 6.527 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.5992, allocations: 71.09 kB / 489.4 MB, free: 6.457 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007222/0.5999, allocations: 261.1 kB / 489.7 MB, free: 6.188 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5999, allocations: 4 kB / 489.7 MB, free: 6.184 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5999, allocations: 4 kB / 489.7 MB, free: 6.18 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.6, allocations: 0 / 489.7 MB, free: 6.18 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.6019, allocations: 0.911 MB / 490.6 MB, free: 5.203 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.6019, allocations: 0 / 490.6 MB, free: 5.203 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.6025, allocations: 63.86 kB / 490.7 MB, free: 5.141 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.6026, allocations: 24.84 kB / 490.7 MB, free: 5.113 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.6027, allocations: 4 kB / 490.7 MB, free: 5.109 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.6038, allocations: 1.221 MB / 491.9 MB, free: 3.77 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.6039, allocations: 4.031 kB / 491.9 MB, free: 3.766 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.6049, allocations: 0.56 MB / 492.5 MB, free: 3.121 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/0.6053, allocations: 156.5 kB / 492.6 MB, free: 2.949 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.6054, allocations: 15.97 kB / 492.6 MB, free: 2.934 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.6059, allocations: 19.98 kB / 492.7 MB, free: 2.914 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.606, allocations: 23.92 kB / 492.7 MB, free: 2.891 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.6061, allocations: 12 kB / 492.7 MB, free: 2.879 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.000794/0.6069, allocations: 391.2 kB / 493.1 MB, free: 2.504 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6069, allocations: 0 / 493.1 MB, free: 2.504 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.0009898/0.6079, allocations: 155.9 kB / 493.2 MB, free: 2.352 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.0004842/0.6084, allocations: 262.9 kB / 493.5 MB, free: 2.094 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.0009294/0.6094, allocations: 388.4 kB / 493.9 MB, free: 1.707 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6094, allocations: 4.25 kB / 493.9 MB, free: 1.703 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.6098, allocations: 197.7 kB / 494.1 MB, free: 1.5 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.611, allocations: 140.4 kB / 494.2 MB, free: 1.359 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.6138, allocations: 1.042 MB / 495.2 MB, free: 268 kB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.6146, allocations: 0.968 MB / 496.2 MB, free: 15.26 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.6149, allocations: 47.44 kB / 496.3 MB, free: 15.21 MB / 395.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6149, allocations: 0 / 496.3 MB, free: 15.21 MB / 395.1 MB Notification: Performance of Templates: time 0.02882/0.6437, allocations: 13.2 MB / 0.4975 GB, free: 2.016 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_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_Start/DCPM_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches