Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001057/0.001057, allocations: 181.4 kB / 17.01 MB, free: 5.125 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.978/1.978, allocations: 205.4 MB / 223.1 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.0009066/0.0009068, allocations: 92.11 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004108, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3907, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.547, allocations: 93.27 MB / 469.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/0.5475, allocations: 83.95 kB / 469.2 MB, free: 3.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06435/0.6119, allocations: 23.06 MB / 492.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.898e-06/0.612, allocations: 0 / 492.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.56e-05/0.6121, allocations: 23.98 kB / 492.2 MB, free: 12.06 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002151/0.6142, allocations: 1.091 MB / 493.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.6143, allocations: 12.03 kB / 493.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005291/0.6148, allocations: 150.6 kB / 493.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.6161, allocations: 0.6874 MB / 494.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.6162, allocations: 58 kB / 494.2 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.6164, allocations: 79.91 kB / 494.3 MB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.6178, allocations: 0.7793 MB / 495.1 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.6179, allocations: 8 kB / 495.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.6179, allocations: 28 kB / 495.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.618, allocations: 20 kB / 495.2 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.619, allocations: 0.5309 MB / 495.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004677/0.6237, allocations: 3.462 MB / 499.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.6243, allocations: 244.8 kB / 499.4 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.6244, allocations: 7.953 kB / 499.4 MB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.6244, allocations: 34.56 kB / 499.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 5.72e-06/0.6245, allocations: 0 / 499.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002498/0.627, allocations: 1.08 MB / 0.4888 GB, free: 3.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.627, allocations: 85.28 kB / 0.4889 GB, free: 3.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008682/0.6279, allocations: 0.6209 MB / 0.4895 GB, free: 2.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.628, allocations: 29.7 kB / 0.4895 GB, free: 2.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/0.6284, allocations: 0.4981 MB / 0.49 GB, free: 2.105 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.6285, allocations: 102.5 kB / 0.4901 GB, free: 2.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.6285, allocations: 12 kB / 0.4901 GB, free: 1.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.6288, allocations: 382.8 kB / 0.4905 GB, free: 1.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.6291, allocations: 137.2 kB / 0.4906 GB, free: 1.477 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.6296, allocations: 418.2 kB / 0.491 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.63, allocations: 208 kB / 0.4912 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.63, allocations: 4 kB / 0.4912 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001085/0.6311, allocations: 0.627 MB / 0.4918 GB, free: 84 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.6311, allocations: 8 kB / 0.4918 GB, free: 76 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.6312, allocations: 8 kB / 0.4918 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.6314, allocations: 33.19 kB / 0.4918 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3082/0.9396, allocations: 145.2 kB / 0.492 GB, free: 99.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.9408, allocations: 1.286 MB / 0.4932 GB, free: 98.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000812/0.9416, allocations: 40.62 kB / 0.4933 GB, free: 98.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/0.9417, allocations: 30.73 kB / 0.4933 GB, free: 98.05 MB / 378.7 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 () * Number of clocked 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.0005747/0.9423, allocations: 239.3 kB / 0.4935 GB, free: 97.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.9424, allocations: 71.59 kB / 0.4936 GB, free: 97.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009414/0.9434, allocations: 338.8 kB / 0.4939 GB, free: 97.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.9434, allocations: 4.875 kB / 0.4939 GB, free: 97.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9434, allocations: 1.219 kB / 0.4939 GB, free: 97.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9434, allocations: 2.562 kB / 0.4939 GB, free: 97.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.9453, allocations: 1.102 MB / 0.495 GB, free: 97.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.9453, allocations: 5.906 kB / 0.495 GB, free: 97.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.9456, allocations: 63.48 kB / 0.4951 GB, free: 97.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.9457, allocations: 23.78 kB / 0.4951 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.9458, allocations: 6.969 kB / 0.4951 GB, free: 97.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007322/0.9465, allocations: 1.279 MB / 0.4964 GB, free: 96.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9465, allocations: 1.969 kB / 0.4964 GB, free: 96.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.9475, allocations: 0.6599 MB / 0.497 GB, free: 95.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.9477, allocations: 171.4 kB / 0.4972 GB, free: 95.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.9478, allocations: 9.062 kB / 0.4972 GB, free: 95.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.9481, allocations: 25.94 kB / 0.4972 GB, free: 95.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.9482, allocations: 29.23 kB / 0.4972 GB, free: 95.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.9483, allocations: 7.031 kB / 0.4972 GB, free: 95.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007444/0.949, allocations: 486.8 kB / 0.4977 GB, free: 95.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.949, allocations: 0 / 0.4977 GB, free: 95.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001103/0.9501, allocations: 195.2 kB / 0.4979 GB, free: 95.75 MB / 378.7 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 () * Number of clocked 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.0005849/0.9507, allocations: 280 kB / 0.4981 GB, free: 95.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.9518, allocations: 485.3 kB / 0.4986 GB, free: 95.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.9518, allocations: 1.281 kB / 0.4986 GB, free: 95.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.9522, allocations: 240.8 kB / 0.4988 GB, free: 95.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.9531, allocations: 170.3 kB / 0.499 GB, free: 95.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.9556, allocations: 1.745 MB / 0.5007 GB, free: 94.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.9562, allocations: 0.9598 MB / 0.5016 GB, free: 93.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003933/0.9566, allocations: 90.91 kB / 0.5017 GB, free: 93.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.9567, allocations: 47.72 kB / 0.5018 GB, free: 93.78 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.9567, allocations: 0 / 0.5018 GB, free: 93.78 MB / 378.7 MB Notification: Performance of Templates: time 0.01653/0.9732, allocations: 9.449 MB / 0.511 GB, free: 93.1 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches