Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009894/0.0009893, allocations: 187.1 kB / 18.04 MB, free: 3.656 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.24/1.24, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007671/0.0007671, allocations: 89.48 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 16 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1926, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09931/0.2919, allocations: 97.27 MB / 474.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.2922, allocations: 83.95 kB / 474.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07064/0.3629, allocations: 26.13 MB / 0.4888 GB, free: 4.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3629, allocations: 0 / 0.4888 GB, free: 4.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.53e-05/0.363, allocations: 23.94 kB / 0.4888 GB, free: 4.84 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002434/0.3654, allocations: 1.231 MB / 0.49 GB, free: 3.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3655, allocations: 8.031 kB / 0.49 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005858/0.3661, allocations: 179.3 kB / 0.4902 GB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.3676, allocations: 0.7903 MB / 0.491 GB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.3676, allocations: 70 kB / 0.491 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.3678, allocations: 99.91 kB / 0.4911 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.3694, allocations: 0.9268 MB / 0.492 GB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.3694, allocations: 0 / 0.492 GB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.3695, allocations: 44 kB / 0.4921 GB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.3695, allocations: 24 kB / 0.4921 GB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.3708, allocations: 0.6364 MB / 0.4927 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1505/0.5213, allocations: 3.942 MB / 0.4966 GB, free: 96.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.5219, allocations: 362.9 kB / 0.4969 GB, free: 96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.5222, allocations: 153.2 kB / 0.4971 GB, free: 95.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.5222, allocations: 7.312 kB / 0.4971 GB, free: 95.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.5223, allocations: 44.06 kB / 0.4971 GB, free: 95.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.777e-06/0.5223, allocations: 1.219 kB / 0.4971 GB, free: 95.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002182/0.5245, allocations: 1.234 MB / 0.4983 GB, free: 95.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.5245, allocations: 82.89 kB / 0.4984 GB, free: 95.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.5256, allocations: 0.7825 MB / 0.4992 GB, free: 95.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.5256, allocations: 33.39 kB / 0.4992 GB, free: 95.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.5259, allocations: 0.5617 MB / 0.4997 GB, free: 94.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.5259, allocations: 138.3 kB / 0.4999 GB, free: 94.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.526, allocations: 16.84 kB / 0.4999 GB, free: 94.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.526, allocations: 335.8 kB / 0.5002 GB, free: 94.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.5263, allocations: 152.1 kB / 0.5003 GB, free: 94.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.5267, allocations: 470.4 kB / 0.5008 GB, free: 94.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.5274, allocations: 0.6489 MB / 0.5014 GB, free: 93.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.5274, allocations: 4.094 kB / 0.5014 GB, free: 93.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001058/0.5285, allocations: 0.707 MB / 0.5021 GB, free: 93.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.5285, allocations: 9.625 kB / 0.5021 GB, free: 93.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5286, allocations: 9.375 kB / 0.5021 GB, free: 93.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001322/0.5287, allocations: 34.95 kB / 0.5022 GB, free: 93.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.5292, allocations: 162.8 kB / 0.5023 GB, free: 93.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006668/0.5299, allocations: 1.288 MB / 0.5036 GB, free: 92.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.5304, allocations: 44.27 kB / 0.5036 GB, free: 92.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.5304, allocations: 35.16 kB / 0.5037 GB, free: 92.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 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: 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.0003614/0.5308, allocations: 254.3 kB / 0.5039 GB, free: 92.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.5309, allocations: 83.19 kB / 0.504 GB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.5316, allocations: 400.8 kB / 0.5044 GB, free: 92.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.5316, allocations: 5.156 kB / 0.5044 GB, free: 92.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5316, allocations: 1.062 kB / 0.5044 GB, free: 92.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.5316, allocations: 7.234 kB / 0.5044 GB, free: 92.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.5333, allocations: 1.262 MB / 0.5056 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5333, allocations: 5.938 kB / 0.5056 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.5336, allocations: 78.05 kB / 0.5057 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.516e-05/0.5337, allocations: 22.52 kB / 0.5057 GB, free: 91.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.5338, allocations: 14.09 kB / 0.5057 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005528/0.5343, allocations: 1.273 MB / 0.507 GB, free: 90.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5343, allocations: 4.844 kB / 0.507 GB, free: 90.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008049/0.5352, allocations: 0.659 MB / 0.5076 GB, free: 90.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.5354, allocations: 187.4 kB / 0.5078 GB, free: 90.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.304e-05/0.5354, allocations: 16.77 kB / 0.5078 GB, free: 90.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.5358, allocations: 22.02 kB / 0.5078 GB, free: 90.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.5359, allocations: 39.02 kB / 0.5079 GB, free: 90.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.5359, allocations: 15.16 kB / 0.5079 GB, free: 90.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005479/0.5364, allocations: 0.5199 MB / 0.5084 GB, free: 90.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5364, allocations: 0 / 0.5084 GB, free: 90.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007246/0.5372, allocations: 226.1 kB / 0.5086 GB, free: 90.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * 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 (35): * Single equations (assignments): 34 * 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.0003374/0.5375, allocations: 283.8 kB / 0.5089 GB, free: 89.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000764/0.5383, allocations: 0.5274 MB / 0.5094 GB, free: 89.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5383, allocations: 7.219 kB / 0.5094 GB, free: 89.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.5386, allocations: 266.1 kB / 0.5097 GB, free: 89.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5398, allocations: 206.3 kB / 0.5099 GB, free: 89.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.542, allocations: 2.094 MB / 0.5119 GB, free: 88.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.5424, allocations: 0.9969 MB / 0.5129 GB, free: 87.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003867/0.5428, allocations: 111.1 kB / 0.513 GB, free: 87.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.5429, allocations: 53.41 kB / 0.513 GB, free: 87.75 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5429, allocations: 0 / 0.513 GB, free: 87.75 MB / 378.7 MB Notification: Performance of Templates: time 0.01625/0.5591, allocations: 10.99 MB / 0.5238 GB, free: 86.95 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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/DCEE_Start/DCEE_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches