Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 115.8 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001839/0.001839, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 60.16 kB / 306.5 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1225, allocations: 50.52 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.01055/0.1331, allocations: 8.068 MB / 365 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005411/0.1385, allocations: 2.634 MB / 367.7 MB, free: 3.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.14, allocations: 23.94 kB / 367.7 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.1424, allocations: 0.4981 MB / 368.2 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.1444, allocations: 405.2 kB / 368.6 MB, free: 2.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000855/0.1453, allocations: 223.8 kB / 368.8 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002178/0.1475, allocations: 1.473 MB / 370.3 MB, free: 1.043 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.1485, allocations: 0.5846 MB / 370.9 MB, free: 448 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2139/0.3623, allocations: 0.5461 MB / 371.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.3635, allocations: 0.6003 MB / 372 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.3639, allocations: 138.2 kB / 372.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.3643, allocations: 180.8 kB / 372.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.3645, allocations: 286.2 kB / 372.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006066/0.3651, allocations: 0.6569 MB / 373.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.3671, allocations: 1.703 MB / 375 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3671, allocations: 0.75 kB / 375 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.3672, allocations: 1.219 kB / 375 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.3672, allocations: 2.375 kB / 375 MB, free: 10.35 MB / 302.1 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.002413/0.3696, allocations: 1.455 MB / 376.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3696, allocations: 11.09 kB / 376.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006388/0.3703, allocations: 184.5 kB / 376.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009631/0.3713, allocations: 0.7283 MB / 377.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.3713, allocations: 74.12 kB / 377.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.3714, allocations: 99.09 kB / 377.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.373, allocations: 0.9361 MB / 378.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.373, allocations: 5.156 kB / 378.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/0.3731, allocations: 40.47 kB / 378.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.3731, allocations: 23.41 kB / 378.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3743, allocations: 0.6348 MB / 379.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004772/0.3791, allocations: 3.92 MB / 383.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.3799, allocations: 442 kB / 383.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.3805, allocations: 261.1 kB / 383.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.3806, allocations: 7.953 kB / 383.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3806, allocations: 42.05 kB / 383.8 MB, free: 6.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 3.256e-06/0.3806, allocations: 4.797 kB / 383.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002853/0.3835, allocations: 1.386 MB / 385.2 MB, free: 5.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.3835, allocations: 87.39 kB / 385.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.3847, allocations: 0.8242 MB / 386.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3848, allocations: 36.14 kB / 386.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.3851, allocations: 0.5532 MB / 386.7 MB, free: 4.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.3852, allocations: 154.5 kB / 386.8 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.3853, allocations: 131.7 kB / 387 MB, free: 4.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.3854, allocations: 339.3 kB / 387.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.3857, allocations: 161.8 kB / 387.5 MB, free: 3.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.3862, allocations: 459.6 kB / 387.9 MB, free: 3.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/0.387, allocations: 0.6649 MB / 388.6 MB, free: 2.867 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.387, allocations: 7.906 kB / 388.6 MB, free: 2.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001319/0.3883, allocations: 0.7646 MB / 389.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3883, allocations: 9.312 kB / 389.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3884, allocations: 9.188 kB / 389.4 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.3887, allocations: 86.39 kB / 389.5 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.3892, allocations: 155.5 kB / 389.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.3913, allocations: 3.151 MB / 392.8 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.392, allocations: 32.45 kB / 392.8 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.392, allocations: 31.84 kB / 392.8 MB, free: 15.45 MB / 318.1 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004828/0.3925, allocations: 263.8 kB / 393.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.3927, allocations: 96.97 kB / 393.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/0.3936, allocations: 481.7 kB / 393.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3936, allocations: 4.781 kB / 393.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3936, allocations: 1.188 kB / 393.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3937, allocations: 7.938 kB / 393.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.396, allocations: 1.441 MB / 395.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.396, allocations: 1 kB / 395.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.3963, allocations: 69.22 kB / 395.2 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.3966, allocations: 80.47 kB / 395.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.3967, allocations: 7.5 kB / 395.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.3992, allocations: 3.134 MB / 398.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3992, allocations: 2.375 kB / 398.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.4006, allocations: 0.7601 MB / 399.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.4009, allocations: 201 kB / 399.3 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.401, allocations: 7.656 kB / 399.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.4014, allocations: 27.14 kB / 399.4 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.4016, allocations: 37.86 kB / 399.4 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.4016, allocations: 22.94 kB / 399.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008439/0.4024, allocations: 0.5597 MB / 400 MB, free: 10 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4025, allocations: 0 / 400 MB, free: 10 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001045/0.4035, allocations: 205.6 kB / 400.2 MB, free: 9.984 MB / 318.1 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002521/0.4038, allocations: 131.1 kB / 400.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.4051, allocations: 0.6928 MB / 401 MB, free: 9.465 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4051, allocations: 5.594 kB / 401 MB, free: 9.461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006501/0.4058, allocations: 435.7 kB / 401.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.407, allocations: 219.7 kB / 401.7 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.4101, allocations: 2.134 MB / 403.8 MB, free: 7.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.4107, allocations: 1.012 MB / 404.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004577/0.4111, allocations: 109 kB / 404.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.4113, allocations: 53.31 kB / 405 MB, free: 6.617 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4113, allocations: 0 / 405 MB, free: 6.617 MB / 318.1 MB Notification: Performance of Templates: time 0.01928/0.4306, allocations: 10.47 MB / 415.4 MB, free: 14.04 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches