Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001246/0.001246, allocations: 182.3 kB / 18.04 MB, free: 3.781 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.3/1.3, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0007191/0.0007192, allocations: 83.88 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.223, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3271, allocations: 97.7 MB / 474.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.3274, allocations: 87.95 kB / 474.8 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07841/0.4059, allocations: 28.02 MB / 0.4911 GB, free: 2.516 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4059, allocations: 0 / 0.4911 GB, free: 2.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.406, allocations: 24 kB / 0.4911 GB, free: 2.492 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.003565/0.4096, allocations: 1.243 MB / 0.4923 GB, free: 1.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4097, allocations: 12.03 kB / 0.4923 GB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.4107, allocations: 187.4 kB / 0.4925 GB, free: 1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.4132, allocations: 0.8252 MB / 0.4933 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-05/0.4133, allocations: 74 kB / 0.4934 GB, free: 60 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1838/0.5971, allocations: 96.7 kB / 0.4935 GB, free: 97.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.6, allocations: 0.9355 MB / 0.4944 GB, free: 97.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/0.6001, allocations: 6.062 kB / 0.4944 GB, free: 97.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.6002, allocations: 42.12 kB / 0.4944 GB, free: 97.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.6003, allocations: 24 kB / 0.4944 GB, free: 97.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.6023, allocations: 0.6408 MB / 0.4951 GB, free: 97.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006638/0.609, allocations: 3.912 MB / 0.4989 GB, free: 95.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008225/0.6099, allocations: 455.6 kB / 0.4993 GB, free: 95.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/0.6104, allocations: 268.2 kB / 0.4996 GB, free: 95.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.6104, allocations: 4.469 kB / 0.4996 GB, free: 95.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.6104, allocations: 39.03 kB / 0.4996 GB, free: 95.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.318e-06/0.6105, allocations: 6.844 kB / 0.4996 GB, free: 95.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.002732/0.6132, allocations: 1.594 MB / 0.5012 GB, free: 95.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.6133, allocations: 84.92 kB / 0.5013 GB, free: 94.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009068/0.6142, allocations: 0.7839 MB / 0.502 GB, free: 94.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.6142, allocations: 32.08 kB / 0.5021 GB, free: 94.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.6145, allocations: 0.5559 MB / 0.5026 GB, free: 94.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.6146, allocations: 168.4 kB / 0.5028 GB, free: 94.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.6146, allocations: 17.62 kB / 0.5028 GB, free: 94.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.6147, allocations: 336.5 kB / 0.5031 GB, free: 94.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.615, allocations: 177 kB / 0.5033 GB, free: 94.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.6155, allocations: 468.4 kB / 0.5037 GB, free: 93.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008033/0.6163, allocations: 0.6825 MB / 0.5044 GB, free: 93.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.6163, allocations: 3.438 kB / 0.5044 GB, free: 93.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001234/0.6175, allocations: 0.8061 MB / 0.5052 GB, free: 93.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6176, allocations: 10.47 kB / 0.5052 GB, free: 93.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6176, allocations: 7.844 kB / 0.5052 GB, free: 93.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/0.6178, allocations: 101.5 kB / 0.5053 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.6183, allocations: 161.1 kB / 0.5054 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.6201, allocations: 3 MB / 0.5084 GB, free: 90.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/0.6206, allocations: 46.45 kB / 0.5084 GB, free: 90.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.6207, allocations: 31.59 kB / 0.5084 GB, free: 90.76 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 (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.0003786/0.6211, allocations: 258.4 kB / 0.5087 GB, free: 90.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.6212, allocations: 90 kB / 0.5088 GB, free: 90.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008163/0.622, allocations: 0.5287 MB / 0.5093 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.622, allocations: 3.938 kB / 0.5093 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.622, allocations: 3.938 kB / 0.5093 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.622, allocations: 0 / 0.5093 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.6238, allocations: 1.468 MB / 0.5107 GB, free: 89.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6238, allocations: 0 / 0.5107 GB, free: 89.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.6241, allocations: 77.31 kB / 0.5108 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002022/0.6243, allocations: 86.91 kB / 0.5109 GB, free: 89.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.6244, allocations: 7.938 kB / 0.5109 GB, free: 89.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.626, allocations: 2.98 MB / 0.5138 GB, free: 86.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.626, allocations: 7.812 kB / 0.5138 GB, free: 86.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.6274, allocations: 0.8254 MB / 0.5146 GB, free: 86.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.6278, allocations: 198.8 kB / 0.5148 GB, free: 85.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.6279, allocations: 7.938 kB / 0.5148 GB, free: 85.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/0.6285, allocations: 39.22 kB / 0.5148 GB, free: 85.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.6286, allocations: 35.31 kB / 0.5149 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.6287, allocations: 15.78 kB / 0.5149 GB, free: 85.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005734/0.6293, allocations: 0.5323 MB / 0.5154 GB, free: 85.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6293, allocations: 4 kB / 0.5154 GB, free: 85.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000873/0.6301, allocations: 240 kB / 0.5157 GB, free: 85.61 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 (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.00035/0.6305, allocations: 307.2 kB / 0.5159 GB, free: 85.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009823/0.6315, allocations: 0.7195 MB / 0.5166 GB, free: 85.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6315, allocations: 0 / 0.5166 GB, free: 85.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.632, allocations: 467.1 kB / 0.5171 GB, free: 84.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.6332, allocations: 213.9 kB / 0.5173 GB, free: 84.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.6357, allocations: 2.124 MB / 0.5194 GB, free: 83.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.6361, allocations: 1.011 MB / 0.5204 GB, free: 82.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000429/0.6366, allocations: 106 kB / 0.5205 GB, free: 82.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.6367, allocations: 55.19 kB / 0.5205 GB, free: 82.61 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.6367, allocations: 7.812 kB / 0.5205 GB, free: 82.61 MB / 378.7 MB Notification: Performance of Templates: time 0.01815/0.6548, allocations: 12.12 MB / 0.5324 GB, free: 80.99 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches