Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008167/0.0008167, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008093/0.0008093, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9121/0.9121, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2494/0.2494, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.346e-05, allocations: 2.281 kB / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.1709/0.1709, allocations: 2.666 MB / 444.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000916/0.1718, allocations: 0.7648 MB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.172, allocations: 18.25 kB / 445.6 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.1721, allocations: 64.41 kB / 445.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.1722, allocations: 135.6 kB / 445.8 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1725, allocations: 118.1 kB / 445.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.1728, allocations: 471.3 kB / 446.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.173, allocations: 124.2 kB / 446.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.1732, allocations: 272.2 kB / 446.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1733, allocations: 134.2 kB / 446.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.1734, allocations: 37.03 kB / 446.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.289e-05/0.1734, allocations: 40.81 kB / 447 MB, free: 42.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.1735, allocations: 83.89 kB / 447 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.1735, allocations: 132.9 kB / 447.2 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1738, allocations: 472.8 kB / 447.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1738, allocations: 0 / 447.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1738, allocations: 0 / 447.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1738, allocations: 0.8438 kB / 447.6 MB, free: 41.93 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0005909/0.1744, allocations: 0.6041 MB / 448.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1745, allocations: 11.75 kB / 448.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.1745, allocations: 73.14 kB / 448.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.1747, allocations: 79.94 kB / 448.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.175, allocations: 237 kB / 448.6 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.175, allocations: 31.19 kB / 448.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.175, allocations: 35.62 kB / 448.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.1754, allocations: 382.4 kB / 449.1 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1754, allocations: 8.141 kB / 449.1 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.1755, allocations: 23 kB / 449.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1755, allocations: 11.41 kB / 449.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.1757, allocations: 242.4 kB / 449.3 MB, free: 40.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/0.1766, allocations: 0.978 MB / 450.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.1769, allocations: 334.2 kB / 450.7 MB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.1771, allocations: 162.5 kB / 450.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1771, allocations: 8.938 kB / 450.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.1771, allocations: 37.31 kB / 450.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.726e-06/0.1771, allocations: 0 / 450.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.00201/0.1791, allocations: 2.009 MB / 452.9 MB, free: 38.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.1791, allocations: 111.5 kB / 453 MB, free: 38.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.1793, allocations: 244.8 kB / 453.2 MB, free: 38.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.1793, allocations: 39.72 kB / 453.2 MB, free: 38.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.1793, allocations: 186.4 kB / 453.4 MB, free: 38.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.1794, allocations: 202.6 kB / 453.6 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/0.1795, allocations: 83.86 kB / 453.7 MB, free: 37.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.1795, allocations: 352.6 kB / 454.1 MB, free: 37.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1797, allocations: 135.5 kB / 454.2 MB, free: 37.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.1799, allocations: 236.4 kB / 454.4 MB, free: 37.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.1802, allocations: 388.8 kB / 454.8 MB, free: 37.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1802, allocations: 3.938 kB / 454.8 MB, free: 37.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005444/0.1808, allocations: 0.5548 MB / 455.4 MB, free: 36.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1808, allocations: 5.562 kB / 455.4 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1808, allocations: 2.844 kB / 455.4 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.181, allocations: 131.7 kB / 455.5 MB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1812, allocations: 93.75 kB / 455.6 MB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.183, allocations: 4.877 MB / 460.5 MB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.1832, allocations: 22.02 kB / 460.5 MB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.1832, allocations: 21.53 kB / 460.5 MB, free: 32.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.1833, allocations: 171.2 kB / 460.7 MB, free: 32.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.1833, allocations: 37.52 kB / 460.7 MB, free: 32.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.1834, allocations: 50.23 kB / 460.8 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1834, allocations: 9.109 kB / 460.8 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.1834, allocations: 3.469 kB / 460.8 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1834, allocations: 0 / 460.8 MB, free: 32.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.1844, allocations: 1.237 MB / 462 MB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1844, allocations: 0 / 462 MB, free: 31.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.1846, allocations: 93.97 kB / 462.1 MB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.1848, allocations: 95.81 kB / 462.2 MB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.1848, allocations: 14.52 kB / 462.2 MB, free: 31.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.1861, allocations: 4.108 MB / 466.3 MB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1861, allocations: 7.625 kB / 466.3 MB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006847/0.1868, allocations: 0.9141 MB / 467.2 MB, free: 26.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.1868, allocations: 40.91 kB / 467.3 MB, free: 26.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1868, allocations: 11.16 kB / 467.3 MB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.1869, allocations: 20.83 kB / 467.3 MB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.187, allocations: 55.59 kB / 467.4 MB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.187, allocations: 17.08 kB / 467.4 MB, free: 26.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.962e-05/0.1871, allocations: 178 kB / 467.6 MB, free: 26.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1871, allocations: 0 / 467.6 MB, free: 26.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004395/0.1876, allocations: 117.9 kB / 467.7 MB, free: 26.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0007864/0.1883, allocations: 1.464 MB / 469.1 MB, free: 25.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006869/0.189, allocations: 0.7585 MB / 469.9 MB, free: 24.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.189, allocations: 0 / 469.9 MB, free: 24.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.1893, allocations: 0.5624 MB / 470.5 MB, free: 24.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.1898, allocations: 69.41 kB / 470.5 MB, free: 24.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.1928, allocations: 4.052 MB / 474.6 MB, free: 21.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.193, allocations: 229.3 kB / 474.8 MB, free: 21.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1931, allocations: 32.11 kB / 474.8 MB, free: 21.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1932, allocations: 130.5 kB / 475 MB, free: 21.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1932, allocations: 0 / 475 MB, free: 21.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.2192, allocations: 9.357 MB / 484.3 MB, free: 19.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.33, allocations: 11.27 kB / 484.3 MB, free: 19.92 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.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.396677945740521]