Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 196.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007724/0.0007726, allocations: 99.61 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002165/0.0002165, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2009, allocations: 51.4 MB / 412 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.001834/0.2028, allocations: 1.982 MB / 414 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007551/0.2035, allocations: 0.8296 MB / 414.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.563e-05/0.2036, allocations: 4 kB / 414.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2038, allocations: 27.78 kB / 414.9 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.2039, allocations: 57.38 kB / 414.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.204, allocations: 51.89 kB / 415 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.2042, allocations: 250.8 kB / 415.2 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2044, allocations: 76.77 kB / 415.3 MB, free: 22.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.2045, allocations: 95.58 kB / 415.4 MB, free: 22.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.65e-05/0.2046, allocations: 91.48 kB / 415.5 MB, free: 22.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.2046, allocations: 12 kB / 415.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.141e-05/0.2047, allocations: 16 kB / 415.5 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.2047, allocations: 31.86 kB / 415.5 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.2048, allocations: 133.2 kB / 415.7 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.205, allocations: 236.6 kB / 415.9 MB, free: 21.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.205, allocations: 0 / 415.9 MB, free: 21.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.205, allocations: 0 / 415.9 MB, free: 21.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.205, allocations: 0 / 415.9 MB, free: 21.97 MB / 298.7 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.00052/0.2056, allocations: 487.1 kB / 416.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2056, allocations: 12.03 kB / 416.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2058, allocations: 44.55 kB / 416.4 MB, free: 21.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.206, allocations: 233.3 kB / 416.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.206, allocations: 16.81 kB / 416.7 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.2061, allocations: 20.38 kB / 416.7 MB, free: 21.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.2064, allocations: 214.1 kB / 416.9 MB, free: 20.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2064, allocations: 8 kB / 416.9 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.2065, allocations: 8 kB / 416.9 MB, free: 20.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2065, allocations: 4 kB / 416.9 MB, free: 20.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.2067, allocations: 129.7 kB / 417.1 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.2075, allocations: 0.7132 MB / 417.8 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.2077, allocations: 150.5 kB / 417.9 MB, free: 19.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2078, allocations: 72.83 kB / 418 MB, free: 19.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.2079, allocations: 0 / 418 MB, free: 19.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.2079, allocations: 34.56 kB / 418 MB, free: 19.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.2079, allocations: 0 / 418 MB, free: 19.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.00124/0.2091, allocations: 0.901 MB / 418.9 MB, free: 18.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.2092, allocations: 63.34 kB / 419 MB, free: 18.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2093, allocations: 167.2 kB / 419.2 MB, free: 18.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.2093, allocations: 29.7 kB / 419.2 MB, free: 18.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.2094, allocations: 144.2 kB / 419.3 MB, free: 18.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.2094, allocations: 86.66 kB / 419.4 MB, free: 18.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.2094, allocations: 7.938 kB / 419.4 MB, free: 18.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.2095, allocations: 334.8 kB / 419.7 MB, free: 17.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.2096, allocations: 47.98 kB / 419.8 MB, free: 17.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.2097, allocations: 106.9 kB / 419.9 MB, free: 17.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.2099, allocations: 175 kB / 420.1 MB, free: 17.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2099, allocations: 4 kB / 420.1 MB, free: 17.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003423/0.2103, allocations: 244.5 kB / 420.3 MB, free: 17.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2103, allocations: 11.98 kB / 420.3 MB, free: 17.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2103, allocations: 4.125 kB / 420.3 MB, free: 17.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.2105, allocations: 28.84 kB / 420.4 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.2107, allocations: 59.91 kB / 420.4 MB, free: 17.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007922/0.2115, allocations: 1.382 MB / 421.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.2116, allocations: 8 kB / 421.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.2116, allocations: 15.94 kB / 421.8 MB, free: 15.59 MB / 298.7 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 8.621e-05/0.2117, allocations: 133.7 kB / 421.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.2117, allocations: 23.78 kB / 422 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.2118, allocations: 29.86 kB / 422 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2118, allocations: 4 kB / 422 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2118, allocations: 0 / 422 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2118, allocations: 0 / 422 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/0.2125, allocations: 0.6558 MB / 422.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2125, allocations: 0 / 422.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.2127, allocations: 51.91 kB / 422.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.2128, allocations: 28.84 kB / 422.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2129, allocations: 7.984 kB / 422.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006935/0.2136, allocations: 1.374 MB / 424.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.2136, allocations: 15.95 kB / 424.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.214, allocations: 411.7 kB / 424.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.2141, allocations: 101 kB / 424.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.2141, allocations: 4 kB / 424.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2142, allocations: 4 kB / 424.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.2143, allocations: 19.97 kB / 424.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.2143, allocations: 8 kB / 424.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.2143, allocations: 130.4 kB / 424.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2144, allocations: 0 / 424.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.2146, allocations: 60 kB / 424.9 MB, free: 12.29 MB / 298.7 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 9.891e-05/0.2147, allocations: 113.5 kB / 425 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004428/0.2152, allocations: 294.2 kB / 425.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2152, allocations: 0 / 425.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.2154, allocations: 218.8 kB / 425.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.2159, allocations: 39.67 kB / 425.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.2169, allocations: 0.8385 MB / 426.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.217, allocations: 0.7485 MB / 427.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.135e-05/0.2171, allocations: 29.88 kB / 427.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.2171, allocations: 19.44 kB / 427.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2171, allocations: 0 / 427.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of Templates: time 0.004536/0.2217, allocations: 2.211 MB / 429.4 MB, free: 7.723 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches