Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.0008175/0.0008175, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008472/0.0008472, allocations: 174.3 kB / 23.95 MB, free: 0.6055 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.9234/0.9234, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.246/0.246, allocations: 32.78 MB / 293.5 MB, free: 1.195 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.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.981e-05, allocations: 6.281 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002624/0.002643, allocations: 2.663 MB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.00379, allocations: 0.7672 MB / 443 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.003961, allocations: 11.94 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.004124, allocations: 67.27 kB / 443.1 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.004318, allocations: 130.8 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.004673, allocations: 123.7 kB / 443.3 MB, free: 480 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.005057, allocations: 474 kB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1635/0.1685, allocations: 118.6 kB / 443.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000455/0.169, allocations: 263.5 kB / 444.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1692, allocations: 139.9 kB / 444.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.1692, allocations: 34.94 kB / 444.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.1693, allocations: 41.31 kB / 444.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.1693, allocations: 81.16 kB / 444.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.179e-05/0.1694, allocations: 139 kB / 444.6 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.1698, allocations: 475.6 kB / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1698, allocations: 3.469 kB / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1698, allocations: 0 / 445.1 MB, free: 43.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.1698, allocations: 0 / 445.1 MB, free: 43.28 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.0006044/0.1704, allocations: 0.6047 MB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1704, allocations: 12.2 kB / 445.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.1705, allocations: 72.09 kB / 445.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.1707, allocations: 74.09 kB / 445.8 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.171, allocations: 236.2 kB / 446.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.171, allocations: 35.36 kB / 446.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.171, allocations: 37.5 kB / 446.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.1714, allocations: 386.2 kB / 446.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1714, allocations: 7.609 kB / 446.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.1714, allocations: 14.78 kB / 446.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1715, allocations: 14.09 kB / 446.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.1717, allocations: 244.2 kB / 446.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.1726, allocations: 0.9775 MB / 447.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.173, allocations: 328 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.1731, allocations: 159.3 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1731, allocations: 11.98 kB / 448.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1732, allocations: 37.44 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.994e-06/0.1732, allocations: 3.188 kB / 448.3 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001973/0.1751, allocations: 2.007 MB / 450.3 MB, free: 40.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.1752, allocations: 115.3 kB / 450.4 MB, free: 40.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1753, allocations: 243.3 kB / 450.6 MB, free: 40.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1753, allocations: 40.55 kB / 450.7 MB, free: 40.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.1754, allocations: 186.2 kB / 450.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.1755, allocations: 209.2 kB / 451.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.1755, allocations: 79.61 kB / 451.1 MB, free: 39.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.23e-05/0.1756, allocations: 352.5 kB / 451.5 MB, free: 39.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1757, allocations: 128.9 kB / 451.6 MB, free: 39.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.1759, allocations: 228.4 kB / 451.8 MB, free: 39.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.1762, allocations: 406.1 kB / 452.2 MB, free: 39.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1762, allocations: 2.938 kB / 452.2 MB, free: 39.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000564/0.1768, allocations: 0.5501 MB / 452.8 MB, free: 39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1768, allocations: 6.438 kB / 452.8 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1768, allocations: 3.031 kB / 452.8 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002192/0.177, allocations: 122 kB / 452.9 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.1773, allocations: 99.23 kB / 453 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.1792, allocations: 4.88 MB / 457.9 MB, free: 34.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1793, allocations: 17.89 kB / 457.9 MB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1793, allocations: 24.53 kB / 457.9 MB, free: 34.39 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.0001267/0.1795, allocations: 168.8 kB / 458.1 MB, free: 34.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.1795, allocations: 42.31 kB / 458.1 MB, free: 34.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.1796, allocations: 47.75 kB / 458.2 MB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1796, allocations: 6.438 kB / 458.2 MB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.1796, allocations: 3.344 kB / 458.2 MB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1796, allocations: 3.328 kB / 458.2 MB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1806, allocations: 1.234 MB / 459.4 MB, free: 33.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1806, allocations: 3.812 kB / 459.4 MB, free: 33.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.1808, allocations: 103.5 kB / 459.5 MB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.181, allocations: 95.66 kB / 459.6 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.181, allocations: 16.83 kB / 459.6 MB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.1823, allocations: 4.103 MB / 463.7 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1823, allocations: 6.25 kB / 463.8 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.183, allocations: 0.9165 MB / 464.7 MB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.183, allocations: 41.77 kB / 464.7 MB, free: 28.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.183, allocations: 11.16 kB / 464.7 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1832, allocations: 20.8 kB / 464.7 MB, free: 28.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.1832, allocations: 43.28 kB / 464.8 MB, free: 28.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1832, allocations: 16.95 kB / 464.8 MB, free: 28.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.07e-05/0.1833, allocations: 175.9 kB / 465 MB, free: 28.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1833, allocations: 2.719 kB / 465 MB, free: 28.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004935/0.1838, allocations: 120.9 kB / 465.1 MB, free: 28.69 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.000824/0.1847, allocations: 1.47 MB / 466.6 MB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007336/0.1854, allocations: 0.7553 MB / 467.3 MB, free: 27.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1854, allocations: 1.859 kB / 467.3 MB, free: 27.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.1857, allocations: 0.5643 MB / 467.9 MB, free: 26.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.1862, allocations: 60 kB / 467.9 MB, free: 26.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.1893, allocations: 4.072 MB / 472 MB, free: 23.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.1894, allocations: 217.5 kB / 472.2 MB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1895, allocations: 37.09 kB / 472.3 MB, free: 23.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1897, allocations: 129.2 kB / 472.4 MB, free: 23.78 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1897, allocations: 0 / 472.4 MB, free: 23.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.2142, allocations: 9.364 MB / 481.8 MB, free: 22.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.309, allocations: 3.344 kB / 481.8 MB, free: 22.08 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.381576515734196]