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.0009259/0.0009262, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007927/0.0007927, allocations: 78.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.472e-05/1.475e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07946/0.07949, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3367/0.4162, allocations: 96.59 MB / 459.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.4164, allocations: 81.2 kB / 459.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06391/0.4804, allocations: 25.87 MB / 485.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4804, allocations: 0 / 485.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.818e-05/0.4805, allocations: 23.94 kB / 485.7 MB, free: 10.16 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.001615/0.4821, allocations: 1.1 MB / 486.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4821, allocations: 12.03 kB / 486.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005583/0.4827, allocations: 170.4 kB / 486.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.4839, allocations: 0.7606 MB / 487.7 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.484, allocations: 35.95 kB / 487.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.4841, allocations: 59.12 kB / 487.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008816/0.485, allocations: 0.5155 MB / 488.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.4862, allocations: 0.7367 MB / 489 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.4862, allocations: 3.906 kB / 489 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.4863, allocations: 7.938 kB / 489 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.4863, allocations: 24 kB / 489.1 MB, free: 7.289 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004432/0.4908, allocations: 3.761 MB / 492.8 MB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.4912, allocations: 308.8 kB / 493.1 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.4914, allocations: 113.4 kB / 493.2 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.4914, allocations: 8.266 kB / 493.3 MB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4915, allocations: 42.78 kB / 493.3 MB, free: 2.926 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.4915, allocations: 4 kB / 493.3 MB, free: 2.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001316/0.4928, allocations: 0.8815 MB / 494.2 MB, free: 1.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.4928, allocations: 81.11 kB / 494.3 MB, free: 1.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.4935, allocations: 0.5741 MB / 494.8 MB, free: 1.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.4936, allocations: 25.7 kB / 494.9 MB, free: 1.273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.4939, allocations: 0.5716 MB / 495.4 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.494, allocations: 134.1 kB / 495.6 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.494, allocations: 0 / 495.6 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4942, allocations: 378.8 kB / 495.9 MB, free: 184 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.4944, allocations: 113.6 kB / 496 MB, free: 72 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.4948, allocations: 416.2 kB / 496.4 MB, free: 15.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.4951, allocations: 184.8 kB / 496.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4951, allocations: 8 kB / 496.6 MB, free: 15.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008403/0.4959, allocations: 0.5597 MB / 497.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.496, allocations: 12.22 kB / 497.2 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.496, allocations: 12 kB / 497.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.4961, allocations: 36.8 kB / 497.3 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.4966, allocations: 163.7 kB / 497.4 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008531/0.4975, allocations: 1.24 MB / 498.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.4979, allocations: 23.98 kB / 498.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.498, allocations: 36.16 kB / 498.7 MB, free: 13.12 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.0001209/0.4981, allocations: 137.5 kB / 498.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-05/0.4982, allocations: 75.06 kB / 498.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005184/0.4987, allocations: 309.8 kB / 499.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4987, allocations: 4 kB / 499.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4988, allocations: 0 / 499.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4988, allocations: 0 / 499.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.5001, allocations: 1.065 MB / 0.4886 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5001, allocations: 8.016 kB / 0.4886 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.5005, allocations: 75.89 kB / 0.4886 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-05/0.5006, allocations: 20.86 kB / 0.4887 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.5006, allocations: 4 kB / 0.4887 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007547/0.5013, allocations: 1.225 MB / 0.4899 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5014, allocations: 4 kB / 0.4899 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006773/0.502, allocations: 0.6353 MB / 0.4905 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.5022, allocations: 172.2 kB / 0.4907 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.5023, allocations: 11.95 kB / 0.4907 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.5027, allocations: 27.97 kB / 0.4907 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.5028, allocations: 27.91 kB / 0.4907 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.5028, allocations: 12 kB / 0.4907 GB, free: 9.016 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004968/0.5033, allocations: 439.2 kB / 0.4911 GB, free: 8.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5033, allocations: 0 / 0.4911 GB, free: 8.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006396/0.504, allocations: 175.9 kB / 0.4913 GB, free: 8.422 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 () * 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.0003436/0.5043, allocations: 262.4 kB / 0.4916 GB, free: 8.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006327/0.505, allocations: 431.8 kB / 0.492 GB, free: 7.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.505, allocations: 4.188 kB / 0.492 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.5053, allocations: 233.6 kB / 0.4922 GB, free: 7.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007802/0.506, allocations: 176.8 kB / 0.4924 GB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.508, allocations: 1.221 MB / 0.4936 GB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.5086, allocations: 1.015 MB / 0.4946 GB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003661/0.509, allocations: 98.42 kB / 0.4947 GB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.677e-05/0.5091, allocations: 47.44 kB / 0.4947 GB, free: 4.848 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5091, allocations: 0 / 0.4947 GB, free: 4.848 MB / 378.7 MB Notification: Performance of Templates: time 0.01437/0.5235, allocations: 7.915 MB / 0.5024 GB, free: 12.92 MB / 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