Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 114.4 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 189.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 45.39 kB / 300.1 MB, free: 6.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09102, allocations: 49.45 MB / 349.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003268/0.09433, allocations: 2.386 MB / 352 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.09517, allocations: 0.5765 MB / 352.5 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.09529, allocations: 4 kB / 352.5 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.09543, allocations: 31.78 kB / 352.6 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.09559, allocations: 59.52 kB / 352.6 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.0958, allocations: 51.89 kB / 352.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.09608, allocations: 250.9 kB / 352.9 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.09629, allocations: 88.33 kB / 353 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.09644, allocations: 103.5 kB / 353.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.0966, allocations: 103.5 kB / 353.2 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.09664, allocations: 20 kB / 353.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.871e-05/0.09669, allocations: 16 kB / 353.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.09674, allocations: 43.86 kB / 353.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.09685, allocations: 115.4 kB / 353.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.09711, allocations: 251.3 kB / 353.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.09713, allocations: 0 / 353.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09714, allocations: 0 / 353.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.09715, allocations: 4 kB / 353.6 MB, free: 0.6602 MB / 286.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.0007032/0.09786, allocations: 0.5067 MB / 354.2 MB, free: 108 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.09791, allocations: 15.89 kB / 354.2 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.09797, allocations: 24.66 kB / 354.2 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.09826, allocations: 236.6 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.09829, allocations: 12.81 kB / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.09834, allocations: 28.36 kB / 354.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.09871, allocations: 214.1 kB / 354.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.09873, allocations: 7.891 kB / 354.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.09876, allocations: 12 kB / 354.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.09877, allocations: 4 kB / 354.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.09903, allocations: 125.6 kB / 354.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009549/0.09999, allocations: 0.6977 MB / 355.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.1002, allocations: 155.5 kB / 355.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1004, allocations: 76.81 kB / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.1004, allocations: 0 / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1004, allocations: 42.56 kB / 355.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 9.92e-07/0.1004, allocations: 0 / 355.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001499/0.1019, allocations: 0.8871 MB / 356.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.102, allocations: 51.41 kB / 356.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1022, allocations: 179.2 kB / 356.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1022, allocations: 33.64 kB / 356.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.1023, allocations: 148.2 kB / 357.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.1024, allocations: 90.73 kB / 357.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.1025, allocations: 49.64 kB / 357.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1026, allocations: 326.8 kB / 357.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1027, allocations: 55.97 kB / 357.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1029, allocations: 100.2 kB / 357.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.1031, allocations: 160.2 kB / 357.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1032, allocations: 0 / 357.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004116/0.1036, allocations: 261.9 kB / 358.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1036, allocations: 4 kB / 358.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1036, allocations: 0 / 358.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/0.1038, allocations: 40.83 kB / 358.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.104, allocations: 47.91 kB / 358.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.1053, allocations: 1.481 MB / 359.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1055, allocations: 12.09 kB / 359.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.1055, allocations: 8 kB / 359.7 MB, free: 10.12 MB / 302.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.0001162/0.1056, allocations: 133.8 kB / 359.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.1057, allocations: 19.95 kB / 359.8 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.1057, allocations: 25.84 kB / 359.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1057, allocations: 7.938 kB / 359.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1058, allocations: 0 / 359.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.1058, allocations: 0 / 359.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008919/0.1067, allocations: 0.6441 MB / 360.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1067, allocations: 4 kB / 360.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.1069, allocations: 51.97 kB / 360.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.107, allocations: 28.84 kB / 360.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.107, allocations: 11.98 kB / 360.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.1082, allocations: 1.484 MB / 362.1 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1082, allocations: 0 / 362.1 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.1088, allocations: 411.5 kB / 362.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.1089, allocations: 92.92 kB / 362.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1089, allocations: 7.938 kB / 362.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.109, allocations: 12.03 kB / 362.6 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.1091, allocations: 24.16 kB / 362.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1091, allocations: 4 kB / 362.6 MB, free: 6.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1093, allocations: 132.8 kB / 362.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.764e-06/0.1093, allocations: 3.938 kB / 362.8 MB, free: 6.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000319/0.1096, allocations: 55.94 kB / 362.8 MB, free: 6.723 MB / 302.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.0001329/0.1097, allocations: 111.2 kB / 362.9 MB, free: 6.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007208/0.1105, allocations: 310.1 kB / 363.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1105, allocations: 0 / 363.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.1108, allocations: 206.5 kB / 363.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.1112, allocations: 44.22 kB / 363.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1124, allocations: 0.774 MB / 364.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1127, allocations: 0.7443 MB / 365 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.252e-05/0.1128, allocations: 17.95 kB / 365 MB, free: 4.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.1128, allocations: 23.42 kB / 365 MB, free: 4.418 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1128, allocations: 0 / 365 MB, free: 4.418 MB / 302.1 MB Notification: Performance of Templates: time 0.00513/0.118, allocations: 2.339 MB / 367.4 MB, free: 2.094 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches