Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001292, allocations: 181.2 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008689/0.0008689, allocations: 101.4 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000265/0.000265, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2381, allocations: 50.39 MB / 401.5 MB, free: 32.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.3588, allocations: 98.65 MB / 0.4884 GB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.3591, allocations: 87.94 kB / 0.4885 GB, free: 13.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3083/0.6675, allocations: 28.22 MB / 0.5161 GB, free: 93.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6676, allocations: 0 / 0.5161 GB, free: 93.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.347e-05/0.6677, allocations: 29.56 kB / 0.5161 GB, free: 93.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002454/0.6701, allocations: 1.252 MB / 0.5173 GB, free: 92.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.6702, allocations: 12.91 kB / 0.5173 GB, free: 92.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006255/0.6708, allocations: 186.3 kB / 0.5175 GB, free: 92.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.6723, allocations: 0.7955 MB / 0.5183 GB, free: 92.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.6723, allocations: 75.47 kB / 0.5184 GB, free: 92.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.6725, allocations: 99.47 kB / 0.5184 GB, free: 92.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.6739, allocations: 0.9292 MB / 0.5194 GB, free: 91.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.6739, allocations: 6.797 kB / 0.5194 GB, free: 91.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.674, allocations: 45.88 kB / 0.5194 GB, free: 91.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.674, allocations: 23.06 kB / 0.5194 GB, free: 91.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.6751, allocations: 0.6362 MB / 0.5201 GB, free: 91.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.6793, allocations: 3.925 MB / 0.5239 GB, free: 88.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.68, allocations: 453.4 kB / 0.5243 GB, free: 88.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.68, allocations: 8.688 kB / 0.5243 GB, free: 88.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.6801, allocations: 42.55 kB / 0.5244 GB, free: 88.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.076e-06/0.6801, allocations: 0 / 0.5244 GB, free: 88.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.00255/0.6826, allocations: 1.452 MB / 0.5258 GB, free: 86.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.6827, allocations: 85.55 kB / 0.5259 GB, free: 86.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007427/0.6834, allocations: 0.6994 MB / 0.5265 GB, free: 85.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.6835, allocations: 33.7 kB / 0.5266 GB, free: 85.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.6837, allocations: 0.5492 MB / 0.5271 GB, free: 85.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.6838, allocations: 174 kB / 0.5273 GB, free: 85.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.6839, allocations: 16 kB / 0.5273 GB, free: 85.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.684, allocations: 338 kB / 0.5276 GB, free: 84.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.6842, allocations: 169.9 kB / 0.5278 GB, free: 84.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.6847, allocations: 472 kB / 0.5282 GB, free: 84.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.6851, allocations: 244.7 kB / 0.5285 GB, free: 83.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6851, allocations: 4 kB / 0.5285 GB, free: 83.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001074/0.6861, allocations: 0.7818 MB / 0.5292 GB, free: 82.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6862, allocations: 12 kB / 0.5292 GB, free: 82.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6862, allocations: 8 kB / 0.5293 GB, free: 82.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.6864, allocations: 85.98 kB / 0.5293 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.6869, allocations: 155.8 kB / 0.5295 GB, free: 82.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.6886, allocations: 2.929 MB / 0.5323 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.6892, allocations: 39.89 kB / 0.5324 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.6892, allocations: 36.06 kB / 0.5324 GB, free: 79.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (86): * Single equations (assignments): 84 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004144/0.6896, allocations: 257.6 kB / 0.5327 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/0.6897, allocations: 86.97 kB / 0.5327 GB, free: 79.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008002/0.6905, allocations: 0.5089 MB / 0.5332 GB, free: 78.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6906, allocations: 4 kB / 0.5332 GB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6906, allocations: 4 kB / 0.5332 GB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6906, allocations: 0 / 0.5332 GB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.6923, allocations: 1.432 MB / 0.5346 GB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/0.6923, allocations: 4 kB / 0.5347 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.6927, allocations: 67.91 kB / 0.5347 GB, free: 77.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.6929, allocations: 84.09 kB / 0.5348 GB, free: 76.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.6929, allocations: 15.94 kB / 0.5348 GB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.6944, allocations: 2.923 MB / 0.5377 GB, free: 73.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6944, allocations: 4.031 kB / 0.5377 GB, free: 73.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.6955, allocations: 0.8811 MB / 0.5385 GB, free: 72.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.6957, allocations: 200 kB / 0.5387 GB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/0.6958, allocations: 11.94 kB / 0.5387 GB, free: 72.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.6962, allocations: 31.98 kB / 0.5388 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.6963, allocations: 39.89 kB / 0.5388 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.6963, allocations: 19.95 kB / 0.5388 GB, free: 72.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005901/0.6969, allocations: 0.5303 MB / 0.5393 GB, free: 71.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6969, allocations: 0 / 0.5393 GB, free: 71.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008734/0.6978, allocations: 240 kB / 0.5396 GB, free: 71.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003656/0.6982, allocations: 300 kB / 0.5399 GB, free: 71.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009688/0.6992, allocations: 0.7 MB / 0.5405 GB, free: 70.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.6992, allocations: 4 kB / 0.5405 GB, free: 70.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005123/0.6997, allocations: 461.6 kB / 0.541 GB, free: 70.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.7006, allocations: 214 kB / 0.5412 GB, free: 70 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.703, allocations: 2.117 MB / 0.5433 GB, free: 67.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.7034, allocations: 1.028 MB / 0.5443 GB, free: 66.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004302/0.7038, allocations: 111.3 kB / 0.5444 GB, free: 66.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.7039, allocations: 55.44 kB / 0.5444 GB, free: 66.61 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.7039, allocations: 0 / 0.5444 GB, free: 66.61 MB / 378.7 MB Notification: Performance of Templates: time 0.01838/0.7223, allocations: 11.86 MB / 0.556 GB, free: 54.89 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches