Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001185/0.001185, allocations: 117.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 204.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.997/1.997, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 59.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.413, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.006168/0.4192, allocations: 2.359 MB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.4212, allocations: 0.6505 MB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.4215, allocations: 4 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.4218, allocations: 35.59 kB / 413 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.4221, allocations: 71.34 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.4226, allocations: 67.91 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.4231, allocations: 258.7 kB / 413.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.4234, allocations: 88.3 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.4238, allocations: 107.6 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.4241, allocations: 107.5 kB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.139e-05/0.4241, allocations: 20 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.4243, allocations: 28 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.4244, allocations: 47.84 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.4246, allocations: 119.4 kB / 413.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.4251, allocations: 244.3 kB / 414.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4251, allocations: 4 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.4251, allocations: 0 / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.4251, allocations: 3.938 kB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001201/0.4264, allocations: 0.5184 MB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.4264, allocations: 12.03 kB / 414.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.4267, allocations: 32.66 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.4273, allocations: 240.6 kB / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.4273, allocations: 16.81 kB / 414.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.4274, allocations: 24.36 kB / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.4279, allocations: 214.1 kB / 415.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.428, allocations: 15.89 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.428, allocations: 4 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.4281, allocations: 4 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.4285, allocations: 129.7 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.43, allocations: 0.6937 MB / 416 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.4305, allocations: 150.5 kB / 416.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.4307, allocations: 75.06 kB / 416.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.4307, allocations: 0 / 416.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.4308, allocations: 30.56 kB / 416.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 2.205e-06/0.4308, allocations: 4 kB / 416.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.002515/0.4333, allocations: 0.8965 MB / 417.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.4334, allocations: 51.41 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.4337, allocations: 181.1 kB / 417.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.4337, allocations: 29.7 kB / 417.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.4339, allocations: 152.2 kB / 417.6 MB, free: 9.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.434, allocations: 86.73 kB / 417.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.4341, allocations: 49.7 kB / 417.7 MB, free: 9.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4343, allocations: 330.8 kB / 418 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.4345, allocations: 47.98 kB / 418.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.4348, allocations: 108.2 kB / 418.2 MB, free: 9.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.4352, allocations: 168.1 kB / 418.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4353, allocations: 0 / 418.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007351/0.436, allocations: 250 kB / 418.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.436, allocations: 7.984 kB / 418.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.4361, allocations: 4 kB / 418.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002411/0.4363, allocations: 36.78 kB / 418.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.4366, allocations: 51.91 kB / 418.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.4385, allocations: 1.485 MB / 420.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4387, allocations: 12 kB / 420.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.4388, allocations: 8.062 kB / 420.2 MB, free: 6.844 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.439, allocations: 141.7 kB / 420.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.4391, allocations: 15.81 kB / 420.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.4392, allocations: 25.86 kB / 420.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.4392, allocations: 7.938 kB / 420.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.4392, allocations: 0 / 420.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4392, allocations: 0 / 420.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.4406, allocations: 0.6558 MB / 421 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4406, allocations: 0 / 421 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.441, allocations: 43.92 kB / 421.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.4412, allocations: 32.83 kB / 421.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.4412, allocations: 8.062 kB / 421.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.443, allocations: 1.485 MB / 422.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.443, allocations: 0 / 422.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.4439, allocations: 394.1 kB / 423 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.444, allocations: 104.9 kB / 423.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.4441, allocations: 4.031 kB / 423.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.4443, allocations: 8 kB / 423.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.4444, allocations: 19.92 kB / 423.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.4444, allocations: 7.984 kB / 423.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.4446, allocations: 132 kB / 423.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4446, allocations: 0 / 423.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005873/0.4452, allocations: 60 kB / 423.3 MB, free: 3.449 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001835/0.4454, allocations: 115.2 kB / 423.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008344/0.4463, allocations: 290.7 kB / 423.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4463, allocations: 0 / 423.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.4468, allocations: 215 kB / 423.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/0.4475, allocations: 43.42 kB / 423.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.4494, allocations: 0.7084 MB / 424.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.45, allocations: 0.7443 MB / 425.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.4501, allocations: 23.42 kB / 425.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4501, allocations: 0 / 425.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of Templates: time 0.009142/0.4592, allocations: 3.516 MB / 428.9 MB, free: 13.7 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches