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.00141/0.00141, allocations: 183.3 kB / 18.04 MB, free: 3.652 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.336/1.336, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007545/0.0007545, allocations: 83.06 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1964, allocations: 47.57 MB / 377 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09792/0.2944, allocations: 93.4 MB / 470.4 MB, free: 3.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/0.2948, allocations: 91.94 kB / 470.5 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06379/0.3586, allocations: 22.97 MB / 493.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3586, allocations: 0 / 493.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.984e-05/0.3587, allocations: 20 kB / 493.5 MB, free: 11.86 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.001984/0.3607, allocations: 1.076 MB / 494.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3607, allocations: 8.031 kB / 494.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.3612, allocations: 143.6 kB / 494.7 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.3625, allocations: 0.7077 MB / 495.4 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.3625, allocations: 62.38 kB / 495.5 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.3627, allocations: 80.36 kB / 495.6 MB, free: 9.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.364, allocations: 0.7838 MB / 496.4 MB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/0.364, allocations: 11.78 kB / 496.4 MB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.3641, allocations: 36 kB / 496.4 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.3641, allocations: 27.98 kB / 496.4 MB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.3652, allocations: 0.5231 MB / 497 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/0.3695, allocations: 3.458 MB / 0.4887 GB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.37, allocations: 242.5 kB / 0.4889 GB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.3703, allocations: 117.5 kB / 0.489 GB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.3703, allocations: 8 kB / 0.489 GB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3704, allocations: 34.5 kB / 0.4891 GB, free: 4.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.3704, allocations: 0 / 0.4891 GB, free: 4.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002038/0.3724, allocations: 1.08 MB / 0.4901 GB, free: 3.043 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3725, allocations: 85.34 kB / 0.4902 GB, free: 2.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008772/0.3734, allocations: 0.7036 MB / 0.4909 GB, free: 2.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3734, allocations: 29.7 kB / 0.4909 GB, free: 2.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.3737, allocations: 0.4942 MB / 0.4914 GB, free: 1.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.3738, allocations: 110.5 kB / 0.4915 GB, free: 1.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.3738, allocations: 12 kB / 0.4915 GB, free: 1.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.374, allocations: 378.8 kB / 0.4919 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.3743, allocations: 137.2 kB / 0.492 GB, free: 1.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000451/0.3748, allocations: 422.2 kB / 0.4924 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1497/0.5245, allocations: 0.5887 MB / 0.493 GB, free: 99.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.5245, allocations: 2.75 kB / 0.493 GB, free: 99.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001477/0.526, allocations: 0.6301 MB / 0.4936 GB, free: 99.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.5261, allocations: 10.94 kB / 0.4936 GB, free: 99.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.5261, allocations: 10.03 kB / 0.4936 GB, free: 99.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/0.5263, allocations: 36.05 kB / 0.4937 GB, free: 99.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.5268, allocations: 146.1 kB / 0.4938 GB, free: 99.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007294/0.5276, allocations: 1.286 MB / 0.4951 GB, free: 97.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.5281, allocations: 39.62 kB / 0.4951 GB, free: 97.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.5281, allocations: 31.88 kB / 0.4951 GB, free: 97.84 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.00038/0.5285, allocations: 234 kB / 0.4953 GB, free: 97.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/0.5286, allocations: 73.53 kB / 0.4954 GB, free: 97.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006243/0.5292, allocations: 340.5 kB / 0.4957 GB, free: 97.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5293, allocations: 3.219 kB / 0.4957 GB, free: 97.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5293, allocations: 0 / 0.4957 GB, free: 97.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5293, allocations: 4.625 kB / 0.4958 GB, free: 97.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.5307, allocations: 1.096 MB / 0.4968 GB, free: 97.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5307, allocations: 2.344 kB / 0.4968 GB, free: 97.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.531, allocations: 63.28 kB / 0.4969 GB, free: 97.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.736e-05/0.5311, allocations: 25.45 kB / 0.4969 GB, free: 97.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.5311, allocations: 11.59 kB / 0.4969 GB, free: 97.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006303/0.5318, allocations: 1.277 MB / 0.4982 GB, free: 96.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5318, allocations: 2.156 kB / 0.4982 GB, free: 96.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.5327, allocations: 0.5738 MB / 0.4987 GB, free: 95.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.5329, allocations: 166.4 kB / 0.4989 GB, free: 95.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.533, allocations: 11.62 kB / 0.4989 GB, free: 95.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.5333, allocations: 23.98 kB / 0.4989 GB, free: 95.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.5334, allocations: 32.44 kB / 0.499 GB, free: 95.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.5335, allocations: 11.19 kB / 0.499 GB, free: 95.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006616/0.5341, allocations: 483.3 kB / 0.4994 GB, free: 95.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5341, allocations: 0 / 0.4994 GB, free: 95.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007818/0.5349, allocations: 190.9 kB / 0.4996 GB, free: 95.66 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.0003695/0.5353, allocations: 283.4 kB / 0.4999 GB, free: 95.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009729/0.5363, allocations: 478.9 kB / 0.5003 GB, free: 95.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5363, allocations: 0 / 0.5003 GB, free: 95.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.5367, allocations: 250.5 kB / 0.5006 GB, free: 95.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.5378, allocations: 174.2 kB / 0.5007 GB, free: 95.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.5399, allocations: 1.752 MB / 0.5024 GB, free: 94.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.5405, allocations: 0.9439 MB / 0.5034 GB, free: 93.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.5409, allocations: 90.3 kB / 0.5035 GB, free: 93.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.541, allocations: 51.02 kB / 0.5035 GB, free: 93.62 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.541, allocations: 0 / 0.5035 GB, free: 93.62 MB / 378.7 MB Notification: Performance of Templates: time 0.01425/0.5553, allocations: 9.61 MB / 0.5129 GB, free: 92.95 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/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_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches