Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008114/0.0008114, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000781/0.000781, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8826/0.8826, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2373/0.2373, allocations: 32.78 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 439.6 MB, free: 4.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.821e-05, allocations: 4.109 kB / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002478/0.002496, allocations: 2.276 MB / 441.8 MB, free: 1.996 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.003443, allocations: 0.8568 MB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.003557, allocations: 7.938 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.003805, allocations: 55.5 kB / 442.8 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.003965, allocations: 79.34 kB / 442.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.004238, allocations: 147.5 kB / 443 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.004512, allocations: 359.1 kB / 443.3 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.004685, allocations: 53.14 kB / 443.4 MB, free: 448 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.00495, allocations: 223.5 kB / 443.6 MB, free: 224 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.005116, allocations: 135.6 kB / 443.7 MB, free: 88 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.005149, allocations: 28 kB / 443.8 MB, free: 60 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1749/0.18, allocations: 85.25 kB / 443.9 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1802, allocations: 70.23 kB / 443.9 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.1803, allocations: 100.1 kB / 444 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.1808, allocations: 400.3 kB / 444.4 MB, free: 43.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1808, allocations: 2.734 kB / 444.4 MB, free: 43.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1808, allocations: 0 / 444.4 MB, free: 43.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1808, allocations: 2.75 kB / 444.4 MB, free: 43.63 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005731/0.1814, allocations: 0.5048 MB / 444.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1814, allocations: 11.25 kB / 444.9 MB, free: 43.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.1815, allocations: 59.83 kB / 445 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.1816, allocations: 39.84 kB / 445 MB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1818, allocations: 194.1 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1819, allocations: 19.47 kB / 445.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.1819, allocations: 22.88 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.1822, allocations: 268.3 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1822, allocations: 3.188 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.1822, allocations: 8.188 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.1822, allocations: 12.77 kB / 445.5 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.1825, allocations: 238.8 kB / 445.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.1833, allocations: 0.646 MB / 446.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1836, allocations: 226.8 kB / 446.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.1837, allocations: 124.1 kB / 446.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1837, allocations: 3.969 kB / 446.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.1838, allocations: 33.53 kB / 446.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.1838, allocations: 2.406 kB / 446.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001666/0.1854, allocations: 1.196 MB / 448 MB, free: 42.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.1854, allocations: 59.34 kB / 448.1 MB, free: 42.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1856, allocations: 205.2 kB / 448.3 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1856, allocations: 39.72 kB / 448.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.1856, allocations: 136 kB / 448.4 MB, free: 41.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.1857, allocations: 124.3 kB / 448.6 MB, free: 41.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.1857, allocations: 66.55 kB / 448.6 MB, free: 41.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.63e-05/0.1858, allocations: 344.5 kB / 449 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.1859, allocations: 114.9 kB / 449.1 MB, free: 41.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1861, allocations: 161.8 kB / 449.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.1863, allocations: 241.2 kB / 449.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1863, allocations: 0 / 449.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004465/0.1867, allocations: 430.9 kB / 449.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1868, allocations: 5.656 kB / 449.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1868, allocations: 0 / 449.9 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.1871, allocations: 192.4 kB / 450.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1872, allocations: 49.45 kB / 450.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003899/0.1876, allocations: 0.7408 MB / 450.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1877, allocations: 35.52 kB / 450.9 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1877, allocations: 11.88 kB / 450.9 MB, free: 40.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 8.585e-05/0.1878, allocations: 147.8 kB / 451.1 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1878, allocations: 27.23 kB / 451.1 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.1879, allocations: 39.73 kB / 451.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1879, allocations: 2.719 kB / 451.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1879, allocations: 4.062 kB / 451.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1879, allocations: 3.234 kB / 451.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008243/0.1887, allocations: 0.8692 MB / 452 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1887, allocations: 3.125 kB / 452 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.1888, allocations: 52.44 kB / 452.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/0.189, allocations: 175.6 kB / 452.2 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.189, allocations: 14.23 kB / 452.2 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003014/0.1893, allocations: 0.6873 MB / 452.9 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1893, allocations: 2.156 kB / 452.9 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.1899, allocations: 0.6127 MB / 453.5 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.19, allocations: 57.42 kB / 453.6 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.19, allocations: 11.06 kB / 453.6 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1901, allocations: 32.44 kB / 453.6 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.1902, allocations: 52.97 kB / 453.7 MB, free: 38.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1902, allocations: 13.2 kB / 453.7 MB, free: 38.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.291e-05/0.1903, allocations: 156 kB / 453.9 MB, free: 38.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1903, allocations: 0 / 453.9 MB, free: 38.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.1905, allocations: 67.66 kB / 453.9 MB, free: 38.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.1917, allocations: 1.423 MB / 455.3 MB, free: 37.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.192, allocations: 292 kB / 455.6 MB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.192, allocations: 0 / 455.6 MB, free: 37.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1922, allocations: 154.1 kB / 455.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.1925, allocations: 31.69 kB / 455.8 MB, free: 37.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.195, allocations: 3.027 MB / 458.8 MB, free: 35.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.164e-05/0.1951, allocations: 151 kB / 459 MB, free: 35.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.456e-05/0.1952, allocations: 29.95 kB / 459 MB, free: 35.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.1952, allocations: 71.28 kB / 459.1 MB, free: 35.35 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1952, allocations: 3.125 kB / 459.1 MB, free: 35.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.2147, allocations: 7.908 MB / 467 MB, free: 33.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/7.898, allocations: 3.156 kB / 467 MB, free: 33.57 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.896590441465378]