Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002662/0.002661, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.756/3.756, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001902/0.001901, allocations: 98.86 kB / 270.9 MB, free: 13.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006481/0.0006483, allocations: 12 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2783, allocations: 47.58 MB / 374.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.03082/0.3092, allocations: 6.427 MB / 381 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0186/0.3278, allocations: 2.548 MB / 383.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.3299, allocations: 19.94 kB / 383.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00366/0.3337, allocations: 481.7 kB / 384 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00806/0.3459, allocations: 482.6 kB / 384.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.3475, allocations: 155.8 kB / 384.6 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004576/0.3521, allocations: 1.042 MB / 385.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006035/0.3582, allocations: 419.2 kB / 386.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.3599, allocations: 438.2 kB / 386.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005775/0.3658, allocations: 477.8 kB / 387 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006597/0.3665, allocations: 60 kB / 387 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009878/0.3675, allocations: 104 kB / 387.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.3679, allocations: 179.2 kB / 387.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007257/0.3686, allocations: 261.1 kB / 387.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003511/0.3722, allocations: 1.305 MB / 388.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3723, allocations: 0 / 388.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.3723, allocations: 3.938 kB / 388.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.891e-05/0.3724, allocations: 0 / 388.9 MB, free: 1.008 MB / 282.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.5035/0.8759, allocations: 1.247 MB / 390.1 MB, free: 20.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/0.876, allocations: 10.23 kB / 390.1 MB, free: 20.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.8774, allocations: 168.3 kB / 390.3 MB, free: 20.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007225/0.8847, allocations: 0.7034 MB / 391 MB, free: 19.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.885, allocations: 71.72 kB / 391.1 MB, free: 19.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000372/0.8853, allocations: 101.4 kB / 391.2 MB, free: 19.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008305/0.8937, allocations: 0.9282 MB / 392.1 MB, free: 19.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/0.898, allocations: 2.75 kB / 392.1 MB, free: 19.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.8984, allocations: 40.25 kB / 392.1 MB, free: 19.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.8984, allocations: 25.45 kB / 392.2 MB, free: 19.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003642/0.9021, allocations: 0.6362 MB / 392.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02141/0.9235, allocations: 3.887 MB / 396.7 MB, free: 16.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.9252, allocations: 440.7 kB / 397.1 MB, free: 16.46 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.385e-05/0.9254, allocations: 4.734 kB / 397.1 MB, free: 16.46 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.9254, allocations: 38.48 kB / 397.2 MB, free: 16.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 4.829e-06/0.9255, allocations: 0 / 397.2 MB, free: 16.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.01009/0.9356, allocations: 1.388 MB / 398.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.9357, allocations: 82.73 kB / 398.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006539/0.9422, allocations: 0.7708 MB / 399.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.9424, allocations: 33 kB / 399.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/0.9431, allocations: 0.5691 MB / 400 MB, free: 14.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.9434, allocations: 160 kB / 400.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.9435, allocations: 15.03 kB / 400.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9436, allocations: 337.8 kB / 400.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008757/0.9445, allocations: 160.7 kB / 400.7 MB, free: 14.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.9456, allocations: 460.7 kB / 401.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009294/0.955, allocations: 234.1 kB / 401.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/0.955, allocations: 3.375 kB / 401.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002971/0.958, allocations: 0.6982 MB / 402 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.9581, allocations: 10.25 kB / 402.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/0.9582, allocations: 9.406 kB / 402.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004783/0.9587, allocations: 75.05 kB / 402.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.96, allocations: 158.3 kB / 402.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00778/0.9678, allocations: 2.811 MB / 405.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.9694, allocations: 38.5 kB / 405.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.9695, allocations: 34.11 kB / 405.2 MB, free: 10.34 MB / 282.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%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008752/0.9704, allocations: 257.2 kB / 405.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.9708, allocations: 88.73 kB / 405.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.9728, allocations: 482.4 kB / 406 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.9729, allocations: 4.438 kB / 406 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9729, allocations: 4.344 kB / 406 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.9729, allocations: 6.062 kB / 406 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.9865, allocations: 1.385 MB / 407.4 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.9866, allocations: 2.406 kB / 407.4 MB, free: 9.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/0.9874, allocations: 75.34 kB / 407.5 MB, free: 9.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/0.9878, allocations: 64.03 kB / 407.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.9879, allocations: 8.969 kB / 407.5 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.9912, allocations: 2.795 MB / 410.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.9913, allocations: 2.812 kB / 410.3 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007057/0.9983, allocations: 0.8318 MB / 411.2 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/0.9991, allocations: 192.9 kB / 411.3 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.9994, allocations: 19.92 kB / 411.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009758/1, allocations: 27.27 kB / 411.4 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.001, allocations: 34.19 kB / 411.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/1.001, allocations: 15.14 kB / 411.4 MB, free: 5.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001586/1.002, allocations: 0.5157 MB / 412 MB, free: 5.242 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.002, allocations: 0 / 412 MB, free: 5.242 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002297/1.005, allocations: 196.9 kB / 412.1 MB, free: 5.227 MB / 282.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%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003712/1.005, allocations: 128.5 kB / 412.3 MB, free: 5.121 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.006639/1.012, allocations: 0.6799 MB / 413 MB, free: 4.738 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.012, allocations: 0 / 413 MB, free: 4.738 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/1.013, allocations: 433.5 kB / 413.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006723/1.02, allocations: 208.9 kB / 413.6 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.03, allocations: 2.135 MB / 415.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/1.031, allocations: 1.031 MB / 416.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/1.032, allocations: 58.75 kB / 416.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/1.032, allocations: 0 / 416.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of Templates: time 0.07904/1.111, allocations: 19.59 MB / 436.4 MB, free: 152 kB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches