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.001687/0.001687, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.002048/0.002048, allocations: 214.4 kB / 24.51 MB, free: 3.688 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.586/1.586, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2479/0.2479, allocations: 46.95 MB / 361.7 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.89 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3545, allocations: 66.04 MB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004672/0.3592, allocations: 2.657 MB / 0.5639 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.361, allocations: 0.7595 MB / 0.5647 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.3612, allocations: 19.88 kB / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.3615, allocations: 67.31 kB / 0.5648 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.3618, allocations: 122.9 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.3622, allocations: 119.8 kB / 0.565 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.3628, allocations: 450.3 kB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.3631, allocations: 144.6 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.3635, allocations: 179.4 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.3637, allocations: 191.2 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.73e-05/0.3638, allocations: 36 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3639, allocations: 36 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.942e-05/0.364, allocations: 91.61 kB / 0.5661 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.3641, allocations: 163.2 kB / 0.5662 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005713/0.3647, allocations: 462 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3647, allocations: 4 kB / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3647, allocations: 0 / 0.5667 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.3647, allocations: 4 kB / 0.5667 GB, free: 14.73 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.001098/0.3658, allocations: 0.6143 MB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3659, allocations: 12.03 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.883e-05/0.3659, allocations: 9.188 kB / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.958e-05/0.366, allocations: 78.7 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.3664, allocations: 76.62 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.3668, allocations: 241.6 kB / 0.5677 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.3669, allocations: 29.38 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.3669, allocations: 36.38 kB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.3677, allocations: 381 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.3677, allocations: 11.95 kB / 0.5681 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.3677, allocations: 16 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3678, allocations: 12 kB / 0.5681 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005477/0.3683, allocations: 244.3 kB / 0.5684 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.3703, allocations: 0.977 MB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.3709, allocations: 331.4 kB / 0.5696 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.3713, allocations: 158.4 kB / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.3713, allocations: 8 kB / 0.5698 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.3713, allocations: 42.44 kB / 0.5698 GB, free: 11.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.715e-06/0.3714, allocations: 0 / 0.5698 GB, free: 11.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004255/0.3756, allocations: 2.016 MB / 0.5718 GB, free: 9.141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.3757, allocations: 114.8 kB / 0.5719 GB, free: 9.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.376, allocations: 241.9 kB / 0.5722 GB, free: 8.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.3761, allocations: 41.64 kB / 0.5722 GB, free: 8.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.3762, allocations: 188.9 kB / 0.5724 GB, free: 8.527 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.3764, allocations: 206.2 kB / 0.5726 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.3766, allocations: 82.34 kB / 0.5727 GB, free: 8.238 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3768, allocations: 346.8 kB / 0.573 GB, free: 7.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.3771, allocations: 133.2 kB / 0.5731 GB, free: 7.762 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.3775, allocations: 232.7 kB / 0.5733 GB, free: 7.496 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.3782, allocations: 402 kB / 0.5737 GB, free: 7.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3782, allocations: 7.938 kB / 0.5737 GB, free: 7.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001169/0.3794, allocations: 0.5462 MB / 0.5743 GB, free: 6.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3794, allocations: 4 kB / 0.5743 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3794, allocations: 4 kB / 0.5743 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.3798, allocations: 130.4 kB / 0.5744 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.3802, allocations: 95.97 kB / 0.5745 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005196/0.3854, allocations: 4.884 MB / 0.5792 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.3858, allocations: 16 kB / 0.5793 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.3858, allocations: 20 kB / 0.5793 GB, free: 1 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.000258/0.386, allocations: 169.7 kB / 0.5794 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3862, allocations: 39.83 kB / 0.5795 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.486e-05/0.3862, allocations: 50.11 kB / 0.5795 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.3863, allocations: 11.94 kB / 0.5795 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-05/0.3863, allocations: 7.938 kB / 0.5795 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3863, allocations: 0 / 0.5795 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.3885, allocations: 1.229 MB / 0.5807 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3885, allocations: 4 kB / 0.5808 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.389, allocations: 100 kB / 0.5808 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003075/0.3893, allocations: 106.4 kB / 0.581 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.3893, allocations: 12 kB / 0.581 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003932/0.3932, allocations: 4.09 MB / 0.585 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.3932, allocations: 11.97 kB / 0.585 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.3947, allocations: 0.9208 MB / 0.5859 GB, free: 9.789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.3948, allocations: 39.81 kB / 0.5859 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.3949, allocations: 12 kB / 0.5859 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.3951, allocations: 16 kB / 0.5859 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.3953, allocations: 48.03 kB / 0.586 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.3953, allocations: 20 kB / 0.586 GB, free: 9.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.3955, allocations: 181.2 kB / 0.5862 GB, free: 9.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3955, allocations: 0 / 0.5862 GB, free: 9.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007556/0.3962, allocations: 120 kB / 0.5863 GB, free: 9.359 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.001911/0.3982, allocations: 1.474 MB / 0.5877 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.3996, allocations: 0.765 MB / 0.5885 GB, free: 7.043 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3996, allocations: 4 kB / 0.5885 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008997/0.4005, allocations: 0.5567 MB / 0.589 GB, free: 6.445 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.4013, allocations: 65.38 kB / 0.5891 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006597/0.4079, allocations: 4.18 MB / 0.5932 GB, free: 2.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4082, allocations: 224.9 kB / 0.5934 GB, free: 1.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000155/0.4083, allocations: 31.28 kB / 0.5934 GB, free: 1.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.4085, allocations: 135.4 kB / 0.5935 GB, free: 1.609 MB / 430.1 MB Notification: Performance of SimCode: time 1.794e-06/0.4085, allocations: 0 / 0.5935 GB, free: 1.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05228/0.4608, allocations: 8.961 MB / 0.6023 GB, free: 8.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.32, allocations: 20.23 kB / 0.6023 GB, free: 8.828 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.77893968904391]