Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.000979/0.000979, 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.0008701/0.0008701, 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.928/0.928, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 34.26 MB / 294.9 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.966e-05, allocations: 6.219 kB / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.1702/0.1702, allocations: 2.268 MB / 444.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1713, allocations: 0.8597 MB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1714, allocations: 9.844 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.1716, allocations: 59.55 kB / 445.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.1718, allocations: 76.7 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1721, allocations: 148.2 kB / 445.6 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.1724, allocations: 359.1 kB / 445.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1725, allocations: 57.11 kB / 446 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1728, allocations: 224.5 kB / 446.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1729, allocations: 129 kB / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.1729, allocations: 29.22 kB / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.1731, allocations: 86.78 kB / 446.4 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1732, allocations: 72.05 kB / 446.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.043e-05/0.1733, allocations: 101.4 kB / 446.6 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.1737, allocations: 402.5 kB / 447 MB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1737, allocations: 0 / 447 MB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1737, allocations: 0 / 447 MB, free: 42.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1737, allocations: 3.938 kB / 447 MB, free: 42.46 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.000624/0.1743, allocations: 0.5129 MB / 447.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1743, allocations: 10.5 kB / 447.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.1744, allocations: 54.86 kB / 447.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.1745, allocations: 39.97 kB / 447.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1748, allocations: 193.1 kB / 447.8 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.1748, allocations: 16.91 kB / 447.8 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.1748, allocations: 24.34 kB / 447.8 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.1751, allocations: 268 kB / 448.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1752, allocations: 4.688 kB / 448.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1752, allocations: 16.28 kB / 448.1 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1752, allocations: 5.812 kB / 448.1 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.1755, allocations: 233.9 kB / 448.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.1763, allocations: 0.6474 MB / 449 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.1766, allocations: 231.7 kB / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1767, allocations: 121.6 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1768, allocations: 2.844 kB / 449.4 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.1768, allocations: 42.17 kB / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.814e-06/0.1768, allocations: 0 / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001794/0.1786, allocations: 1.196 MB / 450.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.1786, allocations: 58.34 kB / 450.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1787, allocations: 201.8 kB / 450.8 MB, free: 40.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1787, allocations: 36.39 kB / 450.9 MB, free: 40.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.1788, allocations: 141.6 kB / 451 MB, free: 40.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.1788, allocations: 125.9 kB / 451.1 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.1789, allocations: 63.75 kB / 451.2 MB, free: 39.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.179, allocations: 331.1 kB / 451.5 MB, free: 39.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1791, allocations: 118.6 kB / 451.6 MB, free: 39.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1793, allocations: 164.1 kB / 451.8 MB, free: 39.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.1795, allocations: 240.1 kB / 452 MB, free: 39.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1795, allocations: 0 / 452 MB, free: 39.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004806/0.18, allocations: 428.9 kB / 452.5 MB, free: 39.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.18, allocations: 5.656 kB / 452.5 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.18, allocations: 1.312 kB / 452.5 MB, free: 39.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.1803, allocations: 197.1 kB / 452.7 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1804, allocations: 62.94 kB / 452.7 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004131/0.1808, allocations: 0.7225 MB / 453.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.181, allocations: 37.95 kB / 453.5 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.181, allocations: 12.81 kB / 453.5 MB, free: 38.43 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 9.027e-05/0.1811, allocations: 152.5 kB / 453.6 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.1811, allocations: 34.67 kB / 453.7 MB, free: 38.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.1812, allocations: 31.88 kB / 453.7 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1812, allocations: 2.812 kB / 453.7 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1812, allocations: 0 / 453.7 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1812, allocations: 4.453 kB / 453.7 MB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008908/0.1821, allocations: 0.8653 MB / 454.6 MB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1821, allocations: 0 / 454.6 MB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1822, allocations: 55.61 kB / 454.6 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.1824, allocations: 169.1 kB / 454.8 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1824, allocations: 11.38 kB / 454.8 MB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003118/0.1827, allocations: 0.696 MB / 455.5 MB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1827, allocations: 2.469 kB / 455.5 MB, free: 37.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.1833, allocations: 0.6027 MB / 456.1 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.1834, allocations: 52.41 kB / 456.2 MB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.1834, allocations: 10.78 kB / 456.2 MB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1836, allocations: 40.73 kB / 456.2 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.1836, allocations: 45.7 kB / 456.3 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1836, allocations: 15.77 kB / 456.3 MB, free: 36.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.527e-05/0.1837, allocations: 157.8 kB / 456.4 MB, free: 36.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1837, allocations: 0 / 456.4 MB, free: 36.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.184, allocations: 69.19 kB / 456.5 MB, free: 36.53 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.001202/0.1852, allocations: 1.428 MB / 457.9 MB, free: 35.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.1856, allocations: 292 kB / 458.2 MB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1856, allocations: 0 / 458.2 MB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.1857, allocations: 157.8 kB / 458.4 MB, free: 35.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.186, allocations: 42.97 kB / 458.4 MB, free: 35.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.1885, allocations: 3.022 MB / 461.4 MB, free: 33.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.916e-05/0.1886, allocations: 149.5 kB / 461.6 MB, free: 33.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.379e-05/0.1887, allocations: 33.38 kB / 461.6 MB, free: 33.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/0.1888, allocations: 73.95 kB / 461.7 MB, free: 33.32 MB / 410.7 MB Notification: Performance of SimCode: time 9.71e-07/0.1888, allocations: 0 / 461.7 MB, free: 33.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.21, allocations: 7.891 MB / 469.6 MB, free: 31.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/7.967, allocations: 3.094 kB / 469.6 MB, free: 31.54 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 10.028982440009713]