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.0009918/0.0009921, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.381/1.381, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008314/0.0008315, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.32e-05, allocations: 0 / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4537, allocations: 97.01 MB / 467 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4539, allocations: 78.33 kB / 467.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06865/0.5226, allocations: 26.26 MB / 493.4 MB, free: 3.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5227, allocations: 4 kB / 493.4 MB, free: 3.348 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.274e-05/0.5227, allocations: 23.94 kB / 493.4 MB, free: 3.324 MB / 362.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.001692/0.5244, allocations: 1.095 MB / 494.5 MB, free: 2.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.5245, allocations: 12.03 kB / 494.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005584/0.525, allocations: 174.4 kB / 494.7 MB, free: 2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.5265, allocations: 0.7659 MB / 495.4 MB, free: 1.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/0.5266, allocations: 81.89 kB / 495.5 MB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.5267, allocations: 100 kB / 495.6 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.5281, allocations: 0.8685 MB / 496.5 MB, free: 116 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.5282, allocations: 15.89 kB / 496.5 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.603e-05/0.5283, allocations: 40 kB / 496.5 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.5283, allocations: 27.94 kB / 496.6 MB, free: 32 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009854/0.5293, allocations: 0.5663 MB / 497.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/0.5342, allocations: 3.941 MB / 0.4893 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.5347, allocations: 325.3 kB / 0.4896 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.5349, allocations: 129.4 kB / 0.4898 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.535, allocations: 4.281 kB / 0.4898 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.535, allocations: 34.84 kB / 0.4898 GB, free: 10.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.667e-06/0.535, allocations: 0 / 0.4898 GB, free: 10.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001666/0.5367, allocations: 0.9615 MB / 0.4907 GB, free: 9.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.5368, allocations: 81.11 kB / 0.4908 GB, free: 9.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009096/0.5377, allocations: 0.6802 MB / 0.4915 GB, free: 8.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.5377, allocations: 29.7 kB / 0.4915 GB, free: 8.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.5381, allocations: 0.5679 MB / 0.4921 GB, free: 8.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.5382, allocations: 130.1 kB / 0.4922 GB, free: 8.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.5382, allocations: 12 kB / 0.4922 GB, free: 8.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5384, allocations: 338 kB / 0.4925 GB, free: 7.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.5386, allocations: 125.6 kB / 0.4926 GB, free: 7.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.539, allocations: 433.8 kB / 0.4931 GB, free: 7.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.5393, allocations: 204.5 kB / 0.4933 GB, free: 6.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.5393, allocations: 0 / 0.4933 GB, free: 6.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009729/0.5403, allocations: 0.6492 MB / 0.4939 GB, free: 6.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.5403, allocations: 15.95 kB / 0.4939 GB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5404, allocations: 8 kB / 0.4939 GB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.5405, allocations: 36.84 kB / 0.4939 GB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.541, allocations: 172.2 kB / 0.4941 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009568/0.542, allocations: 1.284 MB / 0.4954 GB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.5425, allocations: 39.89 kB / 0.4954 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.5426, allocations: 36 kB / 0.4954 GB, free: 4.59 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 () * 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.0001394/0.5427, allocations: 152.6 kB / 0.4956 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5429, allocations: 90.92 kB / 0.4957 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.5435, allocations: 346.8 kB / 0.496 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.5435, allocations: 4 kB / 0.496 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.5435, allocations: 0 / 0.496 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5435, allocations: 0 / 0.496 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.5453, allocations: 1.212 MB / 0.4972 GB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5453, allocations: 7.938 kB / 0.4972 GB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.5457, allocations: 75.89 kB / 0.4973 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-05/0.5458, allocations: 25.08 kB / 0.4973 GB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.5458, allocations: 11.95 kB / 0.4973 GB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008566/0.5467, allocations: 1.28 MB / 0.4986 GB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.5467, allocations: 3.984 kB / 0.4986 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008078/0.5475, allocations: 0.6818 MB / 0.4992 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.5478, allocations: 184.1 kB / 0.4994 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.5479, allocations: 11.98 kB / 0.4994 GB, free: 184 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.5482, allocations: 23.98 kB / 0.4994 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.5483, allocations: 23.97 kB / 0.4995 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.5483, allocations: 20 kB / 0.4995 GB, free: 116 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006409/0.549, allocations: 0.5226 MB / 0.5 GB, free: 15.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.549, allocations: 0 / 0.5 GB, free: 15.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000816/0.5498, allocations: 223.9 kB / 0.5002 GB, free: 15.38 MB / 394.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 () * 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.0004176/0.5502, allocations: 302.8 kB / 0.5005 GB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007356/0.551, allocations: 484.7 kB / 0.501 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.551, allocations: 0 / 0.501 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.5513, allocations: 246.6 kB / 0.5012 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008238/0.5521, allocations: 204.3 kB / 0.5014 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.5543, allocations: 1.259 MB / 0.5026 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.5548, allocations: 1.012 MB / 0.5036 GB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.5553, allocations: 103 kB / 0.5037 GB, free: 11.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.5554, allocations: 59.42 kB / 0.5038 GB, free: 11.63 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5554, allocations: 0 / 0.5038 GB, free: 11.63 MB / 394.7 MB Notification: Performance of Templates: time 0.01923/0.5746, allocations: 11.17 MB / 0.5147 GB, free: 460 kB / 394.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/jenkins/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