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.001491/0.001491, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.5 MB / 230.3 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008341/0.0008342, allocations: 92.86 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.329e-05/1.331e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07854/0.07856, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2795/0.3581, allocations: 97.92 MB / 485.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.3584, allocations: 84.7 kB / 485.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07012/0.4285, allocations: 27.87 MB / 0.5013 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4286, allocations: 0 / 0.5013 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.747e-05/0.4286, allocations: 24 kB / 0.5013 GB, free: 0.75 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.001571/0.4302, allocations: 1.107 MB / 0.5024 GB, free: 15.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.4302, allocations: 12.02 kB / 0.5024 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000598/0.4308, allocations: 186.4 kB / 0.5026 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.4322, allocations: 0.7846 MB / 0.5034 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.4322, allocations: 32 kB / 0.5034 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.4323, allocations: 59.91 kB / 0.5034 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009548/0.4333, allocations: 0.539 MB / 0.504 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.4345, allocations: 0.7474 MB / 0.5047 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.4346, allocations: 3.938 kB / 0.5047 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.4346, allocations: 3.953 kB / 0.5047 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.4347, allocations: 24 kB / 0.5047 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.4391, allocations: 3.737 MB / 0.5084 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.4396, allocations: 414.6 kB / 0.5088 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.4401, allocations: 240.8 kB / 0.509 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.4402, allocations: 4 kB / 0.509 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.4402, allocations: 38.56 kB / 0.5091 GB, free: 8.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.643e-06/0.4402, allocations: 0 / 0.5091 GB, free: 8.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.001791/0.442, allocations: 1.104 MB / 0.5101 GB, free: 7.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.4421, allocations: 85.53 kB / 0.5102 GB, free: 7.207 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.4428, allocations: 0.5779 MB / 0.5108 GB, free: 6.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.4428, allocations: 25.7 kB / 0.5108 GB, free: 6.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.4431, allocations: 0.5564 MB / 0.5113 GB, free: 6.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.4433, allocations: 161.6 kB / 0.5115 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.4433, allocations: 0 / 0.5115 GB, free: 5.867 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4435, allocations: 390.8 kB / 0.5119 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.4437, allocations: 137.6 kB / 0.512 GB, free: 5.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.4441, allocations: 428.3 kB / 0.5124 GB, free: 4.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.4444, allocations: 216.6 kB / 0.5126 GB, free: 4.582 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4444, allocations: 0 / 0.5126 GB, free: 4.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0009945/0.4454, allocations: 0.6688 MB / 0.5133 GB, free: 3.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4455, allocations: 11.98 kB / 0.5133 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4455, allocations: 11.95 kB / 0.5133 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.4458, allocations: 90 kB / 0.5134 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.4463, allocations: 159.7 kB / 0.5135 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.4484, allocations: 2.883 MB / 0.5163 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.4488, allocations: 27.95 kB / 0.5164 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.4489, allocations: 32 kB / 0.5164 GB, free: 464 kB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.449, allocations: 128.7 kB / 0.5165 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.4491, allocations: 83.05 kB / 0.5166 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.4498, allocations: 445.6 kB / 0.517 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4499, allocations: 4 kB / 0.517 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4499, allocations: 0 / 0.517 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4499, allocations: 7.984 kB / 0.517 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.4515, allocations: 1.263 MB / 0.5183 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.4515, allocations: 7.984 kB / 0.5183 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.4519, allocations: 71.91 kB / 0.5184 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/0.4521, allocations: 89.8 kB / 0.5184 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.4521, allocations: 0 / 0.5184 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.4541, allocations: 2.863 MB / 0.5212 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4541, allocations: 4.031 kB / 0.5212 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.4551, allocations: 0.8012 MB / 0.522 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.4553, allocations: 192 kB / 0.5222 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.634e-05/0.4554, allocations: 4 kB / 0.5222 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.4558, allocations: 27.97 kB / 0.5222 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/0.4559, allocations: 35.89 kB / 0.5223 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.4559, allocations: 16 kB / 0.5223 GB, free: 9.988 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004864/0.4564, allocations: 435.2 kB / 0.5227 GB, free: 9.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4564, allocations: 0 / 0.5227 GB, free: 9.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007308/0.4572, allocations: 196 kB / 0.5229 GB, free: 9.379 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003428/0.4575, allocations: 265.9 kB / 0.5231 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000864/0.4584, allocations: 0.6292 MB / 0.5238 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4584, allocations: 0 / 0.5238 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004936/0.4589, allocations: 425.3 kB / 0.5242 GB, free: 8.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/0.4597, allocations: 171 kB / 0.5243 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.4617, allocations: 1.234 MB / 0.5255 GB, free: 6.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.4622, allocations: 1.028 MB / 0.5265 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003773/0.4626, allocations: 102.7 kB / 0.5266 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.4627, allocations: 55.44 kB / 0.5267 GB, free: 5.363 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4627, allocations: 0 / 0.5267 GB, free: 5.363 MB / 410.7 MB Notification: Performance of Templates: time 0.01513/0.4779, allocations: 8.952 MB / 0.5354 GB, free: 12.49 MB / 426.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