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.0009126/0.0009126, allocations: 178.4 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.324/1.324, allocations: 205.3 MB / 214.4 MB, free: 1.738 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.0008504/0.0008505, allocations: 90.69 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.473e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.09849, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3118/0.4103, allocations: 97.02 MB / 460.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4106, allocations: 79.42 kB / 460.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07212/0.4827, allocations: 27.8 MB / 488 MB, free: 8.227 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4828, allocations: 0 / 488 MB, free: 8.227 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.641e-05/0.4828, allocations: 24.66 kB / 488 MB, free: 8.203 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001646/0.4845, allocations: 1.11 MB / 489.1 MB, free: 7.113 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.4845, allocations: 12.03 kB / 489.1 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006255/0.4852, allocations: 186.4 kB / 489.3 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.4865, allocations: 0.7926 MB / 490.1 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.4865, allocations: 32 kB / 490.1 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.4867, allocations: 67.8 kB / 490.2 MB, free: 6.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009388/0.4876, allocations: 0.5294 MB / 490.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.489, allocations: 0.7552 MB / 491.5 MB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.489, allocations: 4 kB / 491.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.4891, allocations: 0 / 491.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.4891, allocations: 24 kB / 491.5 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004692/0.4938, allocations: 3.729 MB / 495.2 MB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.4944, allocations: 412.8 kB / 495.6 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004397/0.4948, allocations: 237.3 kB / 495.9 MB, free: 388 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.4949, allocations: 11.92 kB / 495.9 MB, free: 376 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4949, allocations: 46.34 kB / 495.9 MB, free: 320 kB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.993e-06/0.4949, allocations: 0 / 495.9 MB, free: 320 kB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001931/0.4969, allocations: 1.103 MB / 497 MB, free: 15.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.4969, allocations: 81.55 kB / 497.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.4977, allocations: 0.5779 MB / 497.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.4977, allocations: 25.7 kB / 497.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.4981, allocations: 0.5603 MB / 498.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.4982, allocations: 157.7 kB / 498.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.4982, allocations: 0 / 498.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4984, allocations: 386.7 kB / 498.8 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.4986, allocations: 141.5 kB / 498.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.499, allocations: 428.4 kB / 499.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.4994, allocations: 212.6 kB / 499.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4994, allocations: 4 kB / 499.6 MB, free: 12.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001064/0.5004, allocations: 0.661 MB / 0.4885 GB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.5005, allocations: 8 kB / 0.4885 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.5005, allocations: 12 kB / 0.4885 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.5008, allocations: 93.95 kB / 0.4886 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.5013, allocations: 159.7 kB / 0.4888 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.5036, allocations: 2.871 MB / 0.4916 GB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.5041, allocations: 27.84 kB / 0.4916 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.5042, allocations: 40.06 kB / 0.4916 GB, free: 8.305 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 () * 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.0001334/0.5043, allocations: 129.6 kB / 0.4918 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.5044, allocations: 75.06 kB / 0.4918 GB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007826/0.5052, allocations: 445.7 kB / 0.4923 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5053, allocations: 8 kB / 0.4923 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5053, allocations: 4.062 kB / 0.4923 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5053, allocations: 3.938 kB / 0.4923 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.507, allocations: 1.252 MB / 0.4935 GB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.507, allocations: 4.219 kB / 0.4935 GB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.5074, allocations: 79.83 kB / 0.4936 GB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.5076, allocations: 85.64 kB / 0.4937 GB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.5076, allocations: 11.95 kB / 0.4937 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.5097, allocations: 2.867 MB / 0.4965 GB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.5098, allocations: 7.938 kB / 0.4965 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/0.5107, allocations: 0.8048 MB / 0.4973 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.511, allocations: 192.1 kB / 0.4974 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.5111, allocations: 4 kB / 0.4975 GB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.5115, allocations: 19.98 kB / 0.4975 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.5115, allocations: 39.91 kB / 0.4975 GB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.5116, allocations: 12 kB / 0.4975 GB, free: 1.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005795/0.5122, allocations: 443.2 kB / 0.4979 GB, free: 1.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5122, allocations: 0 / 0.4979 GB, free: 1.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008148/0.513, allocations: 195.9 kB / 0.4981 GB, free: 1.223 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 () * 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.0003751/0.5134, allocations: 265.3 kB / 0.4984 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009217/0.5143, allocations: 0.6271 MB / 0.499 GB, free: 312 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5143, allocations: 0 / 0.499 GB, free: 312 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.5148, allocations: 415.5 kB / 0.4994 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008498/0.5157, allocations: 183.8 kB / 0.4996 GB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.5178, allocations: 1.225 MB / 0.5008 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.5184, allocations: 1.036 MB / 0.5018 GB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.5188, allocations: 94.77 kB / 0.5019 GB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.5189, allocations: 51.44 kB / 0.5019 GB, free: 13.21 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5189, allocations: 0 / 0.5019 GB, free: 13.21 MB / 394.7 MB Notification: Performance of Templates: time 0.01608/0.535, allocations: 8.979 MB / 0.5107 GB, free: 4.223 MB / 394.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/jenkins/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