Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001482, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.876/1.876, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001157/0.001156, allocations: 97.72 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003887, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3212, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.4744, allocations: 97.54 MB / 472.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.4748, allocations: 87.95 kB / 472.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.119/0.5938, allocations: 28.17 MB / 0.4886 GB, free: 2.766 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5938, allocations: 0 / 0.4886 GB, free: 2.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.397e-05/0.5939, allocations: 24 kB / 0.4886 GB, free: 2.742 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.003226/0.5972, allocations: 1.254 MB / 0.4899 GB, free: 1.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5972, allocations: 8.031 kB / 0.4899 GB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009935/0.5982, allocations: 190.4 kB / 0.49 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.6004, allocations: 0.7923 MB / 0.4908 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/0.6005, allocations: 78.16 kB / 0.4909 GB, free: 340 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.6007, allocations: 99.95 kB / 0.491 GB, free: 240 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2597/0.8605, allocations: 0.9269 MB / 0.4919 GB, free: 97.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.169e-05/0.8606, allocations: 4.875 kB / 0.4919 GB, free: 97.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.8607, allocations: 39.53 kB / 0.4919 GB, free: 97.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/0.8608, allocations: 24.09 kB / 0.492 GB, free: 97.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.8629, allocations: 0.6494 MB / 0.4926 GB, free: 97.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007456/0.8704, allocations: 3.906 MB / 0.4964 GB, free: 95.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.8715, allocations: 459.9 kB / 0.4968 GB, free: 95.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/0.8716, allocations: 10.09 kB / 0.4969 GB, free: 95.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.8716, allocations: 39.41 kB / 0.4969 GB, free: 95.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.477e-06/0.8716, allocations: 0 / 0.4969 GB, free: 95.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.004229/0.8759, allocations: 1.449 MB / 0.4983 GB, free: 94.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.876, allocations: 84.08 kB / 0.4984 GB, free: 94.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.8774, allocations: 0.6979 MB / 0.4991 GB, free: 94.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.8775, allocations: 33.83 kB / 0.4991 GB, free: 94.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.8779, allocations: 0.5667 MB / 0.4997 GB, free: 94.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.878, allocations: 165.4 kB / 0.4998 GB, free: 94.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.8781, allocations: 18.94 kB / 0.4998 GB, free: 94.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.8782, allocations: 340.2 kB / 0.5002 GB, free: 93.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.8787, allocations: 171.2 kB / 0.5003 GB, free: 93.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.8795, allocations: 463 kB / 0.5008 GB, free: 93.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.8802, allocations: 244 kB / 0.501 GB, free: 93.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.8802, allocations: 5.125 kB / 0.501 GB, free: 93.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001892/0.8821, allocations: 0.7283 MB / 0.5017 GB, free: 93.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.8821, allocations: 12.34 kB / 0.5017 GB, free: 93.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.8822, allocations: 10.81 kB / 0.5017 GB, free: 93.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.8826, allocations: 81.89 kB / 0.5018 GB, free: 93.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009553/0.8836, allocations: 159.5 kB / 0.502 GB, free: 93.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/0.8862, allocations: 2.943 MB / 0.5048 GB, free: 90.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.8873, allocations: 36.25 kB / 0.5049 GB, free: 90.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.8874, allocations: 33.12 kB / 0.5049 GB, free: 90.92 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.0006314/0.888, allocations: 268.8 kB / 0.5052 GB, free: 90.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.8882, allocations: 84.75 kB / 0.5052 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.8896, allocations: 0.4966 MB / 0.5057 GB, free: 90.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.8896, allocations: 3.906 kB / 0.5057 GB, free: 90.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8896, allocations: 6.266 kB / 0.5057 GB, free: 90.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.8897, allocations: 3.797 kB / 0.5057 GB, free: 90.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.8926, allocations: 1.432 MB / 0.5071 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.8926, allocations: 0 / 0.5071 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.8932, allocations: 76.73 kB / 0.5072 GB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003114/0.8935, allocations: 79.17 kB / 0.5073 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.8936, allocations: 17.2 kB / 0.5073 GB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/0.8959, allocations: 2.913 MB / 0.5101 GB, free: 87.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8959, allocations: 3.938 kB / 0.5101 GB, free: 87.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.8978, allocations: 0.8744 MB / 0.511 GB, free: 86.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.8982, allocations: 198 kB / 0.5112 GB, free: 86.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.8983, allocations: 11.3 kB / 0.5112 GB, free: 86.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/0.899, allocations: 37.16 kB / 0.5112 GB, free: 86.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.8992, allocations: 30.14 kB / 0.5113 GB, free: 86.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.8992, allocations: 28.94 kB / 0.5113 GB, free: 86.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009789/0.9002, allocations: 0.5307 MB / 0.5118 GB, free: 86.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.9002, allocations: 0 / 0.5118 GB, free: 86.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00137/0.9016, allocations: 244.8 kB / 0.512 GB, free: 86.2 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.0005668/0.9022, allocations: 300.5 kB / 0.5123 GB, free: 86.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.9039, allocations: 0.7097 MB / 0.513 GB, free: 85.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.9039, allocations: 128 / 0.513 GB, free: 85.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009043/0.9048, allocations: 462.7 kB / 0.5135 GB, free: 85.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.9065, allocations: 208.2 kB / 0.5137 GB, free: 85.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.9104, allocations: 2.15 MB / 0.5158 GB, free: 83.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.911, allocations: 1.031 MB / 0.5168 GB, free: 83.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.9113, allocations: 56.81 kB / 0.5168 GB, free: 83.23 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.9113, allocations: 7.281 kB / 0.5168 GB, free: 83.23 MB / 378.7 MB Notification: Performance of Templates: time 0.03299/0.9443, allocations: 20.88 MB / 0.5372 GB, free: 74.13 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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/DCSE_Start/DCSE_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches