Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001278/0.001278, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001539/0.001539, allocations: 207.8 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2262/0.2262, allocations: 46.95 MB / 360.9 MB, free: 4.027 MB / 286.1 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.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 75.81 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.363, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004154/0.3671, allocations: 2.66 MB / 0.5632 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3688, allocations: 0.7673 MB / 0.5639 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.369, allocations: 11.94 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3692, allocations: 63.31 kB / 0.564 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.3695, allocations: 126.8 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.3699, allocations: 119.8 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005033/0.3704, allocations: 450.4 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.3707, allocations: 144.7 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.371, allocations: 187.2 kB / 0.565 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.3712, allocations: 191.2 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.3713, allocations: 32 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.041e-05/0.3714, allocations: 44 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.582e-05/0.3715, allocations: 83.69 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3717, allocations: 167.2 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.3722, allocations: 462 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3722, allocations: 0 / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3722, allocations: 0 / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3722, allocations: 4 kB / 0.5659 GB, free: 14.7 MB / 414.1 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.001018/0.3732, allocations: 0.622 MB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3733, allocations: 8.031 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.982e-05/0.3733, allocations: 74.72 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.3737, allocations: 72.62 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.3741, allocations: 241.6 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.3742, allocations: 29.38 kB / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.181e-05/0.3742, allocations: 48.31 kB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.3749, allocations: 385.1 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.375, allocations: 3.953 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.375, allocations: 16 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.375, allocations: 8 kB / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005435/0.3756, allocations: 247.8 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.3772, allocations: 0.9808 MB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.3778, allocations: 319.6 kB / 0.5689 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.378, allocations: 162.4 kB / 0.569 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.3781, allocations: 4 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3781, allocations: 42.5 kB / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.803e-06/0.3781, allocations: 0 / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003986/0.3821, allocations: 2.014 MB / 0.571 GB, free: 9.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.3822, allocations: 114.8 kB / 0.5711 GB, free: 8.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.3824, allocations: 249.9 kB / 0.5714 GB, free: 8.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.3825, allocations: 33.7 kB / 0.5714 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.3826, allocations: 184.9 kB / 0.5716 GB, free: 8.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.3828, allocations: 214.2 kB / 0.5718 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3829, allocations: 82.34 kB / 0.5719 GB, free: 8.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3831, allocations: 350.7 kB / 0.5722 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.3833, allocations: 129.2 kB / 0.5723 GB, free: 7.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/0.3837, allocations: 232.7 kB / 0.5726 GB, free: 7.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.3843, allocations: 402 kB / 0.5729 GB, free: 7.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3843, allocations: 4 kB / 0.5729 GB, free: 7.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001038/0.3853, allocations: 0.5579 MB / 0.5735 GB, free: 6.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3854, allocations: 4 kB / 0.5735 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.3854, allocations: 4 kB / 0.5735 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003812/0.3857, allocations: 118.5 kB / 0.5736 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.3861, allocations: 99.81 kB / 0.5737 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004614/0.3908, allocations: 4.88 MB / 0.5785 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.391, allocations: 24.17 kB / 0.5785 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.3911, allocations: 20 kB / 0.5785 GB, free: 0.9766 MB / 414.1 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.0002507/0.3914, allocations: 165.7 kB / 0.5787 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3915, allocations: 39.77 kB / 0.5787 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.3916, allocations: 46.11 kB / 0.5788 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.3916, allocations: 8 kB / 0.5788 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/0.3916, allocations: 7.938 kB / 0.5788 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3916, allocations: 7.984 kB / 0.5788 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.3937, allocations: 1.226 MB / 0.58 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3937, allocations: 4.281 kB / 0.58 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.3941, allocations: 103.9 kB / 0.5801 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003057/0.3944, allocations: 98.45 kB / 0.5802 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.3945, allocations: 15.94 kB / 0.5802 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/0.398, allocations: 4.102 MB / 0.5842 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.398, allocations: 4.031 kB / 0.5842 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.3994, allocations: 0.9243 MB / 0.5851 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.3995, allocations: 35.83 kB / 0.5851 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.3996, allocations: 12 kB / 0.5851 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.3998, allocations: 15.98 kB / 0.5852 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4, allocations: 47.86 kB / 0.5852 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.4, allocations: 23.92 kB / 0.5852 GB, free: 9.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.4002, allocations: 177.2 kB / 0.5854 GB, free: 9.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4002, allocations: 0 / 0.5854 GB, free: 9.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007276/0.4009, allocations: 116 kB / 0.5855 GB, free: 9.344 MB / 430.1 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.001742/0.4026, allocations: 1.475 MB / 0.5869 GB, free: 7.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.404, allocations: 0.761 MB / 0.5877 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.404, allocations: 4 kB / 0.5877 GB, free: 7.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008298/0.4049, allocations: 0.561 MB / 0.5882 GB, free: 6.426 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.4056, allocations: 56.11 kB / 0.5883 GB, free: 6.375 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005871/0.4114, allocations: 4.18 MB / 0.5924 GB, free: 2.008 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4117, allocations: 220.9 kB / 0.5926 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.4119, allocations: 39.25 kB / 0.5926 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.412, allocations: 131.4 kB / 0.5928 GB, free: 1.602 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.412, allocations: 0 / 0.5928 GB, free: 1.602 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06727/0.4793, allocations: 9.343 MB / 0.6019 GB, free: 8.441 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.28, allocations: 0 / 0.6019 GB, free: 8.441 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.344211654009996]