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.001024/0.001024, allocations: 107 kB / 17.74 MB, free: 5.359 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.001002/0.001002, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009669/0.0009669, allocations: 47.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2102, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003029/0.2133, allocations: 2.347 MB / 403.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.2141, allocations: 0.5765 MB / 404.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.2142, allocations: 7.938 kB / 404.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.2144, allocations: 31.66 kB / 404.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.2145, allocations: 75.34 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.2147, allocations: 51.92 kB / 404.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.2149, allocations: 262.8 kB / 404.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2151, allocations: 92.33 kB / 404.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.2153, allocations: 99.58 kB / 404.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.2154, allocations: 115.5 kB / 405.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.2154, allocations: 16 kB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.981e-05/0.2155, allocations: 23.94 kB / 405.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.2155, allocations: 47.78 kB / 405.1 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.2156, allocations: 111.5 kB / 405.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.2159, allocations: 244.2 kB / 405.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2159, allocations: 0 / 405.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2159, allocations: 4 kB / 405.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.2159, allocations: 4 kB / 405.5 MB, free: 4.777 MB / 318.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.0006201/0.2166, allocations: 0.5068 MB / 406 MB, free: 4.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2166, allocations: 11.89 kB / 406 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.2166, allocations: 24.66 kB / 406 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.2169, allocations: 241.2 kB / 406.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2169, allocations: 20.81 kB / 406.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.217, allocations: 24.38 kB / 406.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.2173, allocations: 210.2 kB / 406.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2173, allocations: 4 kB / 406.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.2174, allocations: 7.938 kB / 406.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2174, allocations: 8 kB / 406.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.2176, allocations: 125.7 kB / 406.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000904/0.2185, allocations: 0.7054 MB / 407.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.2188, allocations: 150.4 kB / 407.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.2189, allocations: 72.83 kB / 407.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.219, allocations: 4 kB / 407.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.219, allocations: 30.56 kB / 407.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.219, allocations: 4 kB / 407.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001422/0.2204, allocations: 0.8916 MB / 408.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.2204, allocations: 51.41 kB / 408.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.2206, allocations: 175.2 kB / 408.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2206, allocations: 29.7 kB / 408.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.2207, allocations: 136.3 kB / 408.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.2208, allocations: 94.64 kB / 409 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.2208, allocations: 45.7 kB / 409 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.2209, allocations: 334.8 kB / 409.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2211, allocations: 59.92 kB / 409.4 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2212, allocations: 100.2 kB / 409.5 MB, free: 424 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.2215, allocations: 172.1 kB / 409.7 MB, free: 236 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2215, allocations: 0 / 409.7 MB, free: 236 kB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004211/0.2219, allocations: 250.1 kB / 409.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2219, allocations: 4 kB / 409.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2219, allocations: 0 / 409.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.2221, allocations: 36.91 kB / 410 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.2223, allocations: 51.91 kB / 410 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.2234, allocations: 1.481 MB / 411.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.2235, allocations: 11.97 kB / 411.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.2236, allocations: 12 kB / 411.5 MB, free: 14.23 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.000107/0.2237, allocations: 129.8 kB / 411.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.2237, allocations: 27.7 kB / 411.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.2238, allocations: 25.94 kB / 411.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2238, allocations: 4 kB / 411.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2238, allocations: 3.938 kB / 411.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.2238, allocations: 92.91 kB / 411.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.2239, allocations: 8 kB / 411.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.224, allocations: 8 kB / 411.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.2241, allocations: 15.97 kB / 411.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005979/0.2247, allocations: 319.1 kB / 412.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004842/0.2252, allocations: 445 kB / 412.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000122/0.2253, allocations: 67.95 kB / 412.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.532e-05/0.2254, allocations: 132.8 kB / 412.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Backend: time 1.763e-06/0.2254, allocations: 0 / 412.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006418/0.226, allocations: 320.8 kB / 413.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of SimCode: time 0.001092/0.2271, allocations: 1.107 MB / 414.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of Templates: time 0.005189/0.2323, allocations: 2.51 MB / 416.7 MB, free: 8.945 MB / 334.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/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_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches