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.001829/0.001829, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002332/0.002332, allocations: 215.2 kB / 23.75 MB, free: 4.668 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.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2656/0.2656, allocations: 46.93 MB / 360.9 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 179] 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.002284/0.002284, allocations: 67.91 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3222, allocations: 66.04 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004351/0.3266, allocations: 2.871 MB / 0.5635 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.3281, allocations: 0.8139 MB / 0.5643 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.3283, allocations: 11.94 kB / 0.5643 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.3285, allocations: 63.31 kB / 0.5643 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.3288, allocations: 126.9 kB / 0.5644 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.3292, allocations: 119.8 kB / 0.5646 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005524/0.3297, allocations: 450.3 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.33, allocations: 140.6 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.3303, allocations: 183.3 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.3306, allocations: 195.1 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.3307, allocations: 36 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.3308, allocations: 36 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.3309, allocations: 79.7 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.3311, allocations: 218.9 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.3316, allocations: 458 kB / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3316, allocations: 0 / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3316, allocations: 0 / 0.5663 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.3316, allocations: 0 / 0.5663 GB, free: 14.65 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.001073/0.3327, allocations: 0.6105 MB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3328, allocations: 12.03 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.615e-05/0.3328, allocations: 82.66 kB / 0.567 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.3332, allocations: 72.62 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.3336, allocations: 241.6 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.3337, allocations: 29.38 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.3337, allocations: 40.38 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.3344, allocations: 389.1 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.3345, allocations: 3.953 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.3345, allocations: 16 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.3345, allocations: 12 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.3351, allocations: 244.4 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.3368, allocations: 1.047 MB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.3373, allocations: 331.4 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.3376, allocations: 154.5 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.3377, allocations: 19.92 kB / 0.5695 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.3377, allocations: 38.48 kB / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.893e-06/0.3377, allocations: 0 / 0.5695 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003914/0.3416, allocations: 2.013 MB / 0.5715 GB, free: 8.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.3417, allocations: 110.8 kB / 0.5716 GB, free: 8.863 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.342, allocations: 245.9 kB / 0.5718 GB, free: 8.617 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.342, allocations: 33.7 kB / 0.5718 GB, free: 8.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3421, allocations: 184.9 kB / 0.572 GB, free: 8.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.3423, allocations: 214.2 kB / 0.5722 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3425, allocations: 86.28 kB / 0.5723 GB, free: 8.094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3426, allocations: 354.7 kB / 0.5726 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.3429, allocations: 129.2 kB / 0.5728 GB, free: 7.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.3433, allocations: 240.8 kB / 0.573 GB, free: 7.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.344, allocations: 397.9 kB / 0.5734 GB, free: 6.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.344, allocations: 4 kB / 0.5734 GB, free: 6.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001119/0.3451, allocations: 0.5502 MB / 0.5739 GB, free: 6.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.3451, allocations: 7.984 kB / 0.5739 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3451, allocations: 4 kB / 0.5739 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003838/0.3455, allocations: 122.6 kB / 0.574 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.3459, allocations: 99.81 kB / 0.5741 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.3508, allocations: 4.895 MB / 0.5789 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.3511, allocations: 19.98 kB / 0.5789 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.3512, allocations: 20 kB / 0.579 GB, free: 0.832 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.0002494/0.3514, allocations: 173.7 kB / 0.5791 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3515, allocations: 35.77 kB / 0.5792 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.3516, allocations: 50.11 kB / 0.5792 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3516, allocations: 8 kB / 0.5792 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.3517, allocations: 3.938 kB / 0.5792 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.3517, allocations: 7.984 kB / 0.5792 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.3539, allocations: 1.288 MB / 0.5805 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3539, allocations: 0 / 0.5805 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.3543, allocations: 104 kB / 0.5806 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002891/0.3546, allocations: 94.45 kB / 0.5807 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.3547, allocations: 16.09 kB / 0.5807 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/0.3585, allocations: 4.118 MB / 0.5847 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3585, allocations: 8.094 kB / 0.5847 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.3599, allocations: 0.9181 MB / 0.5856 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.36, allocations: 35.83 kB / 0.5856 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.36, allocations: 8 kB / 0.5857 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.3603, allocations: 19.98 kB / 0.5857 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.3604, allocations: 51.86 kB / 0.5857 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.3605, allocations: 19.98 kB / 0.5857 GB, free: 9.414 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.3607, allocations: 173.2 kB / 0.5859 GB, free: 9.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3607, allocations: 3.938 kB / 0.5859 GB, free: 9.238 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007363/0.3614, allocations: 120 kB / 0.586 GB, free: 9.121 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.001824/0.3632, allocations: 1.482 MB / 0.5875 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.3647, allocations: 0.7542 MB / 0.5882 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3647, allocations: 0 / 0.5882 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008701/0.3656, allocations: 0.566 MB / 0.5888 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007328/0.3663, allocations: 71.19 kB / 0.5888 GB, free: 6.141 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/0.3728, allocations: 4.181 MB / 0.5929 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.3733, allocations: 0.8241 MB / 0.5937 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.3735, allocations: 39.27 kB / 0.5938 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.3737, allocations: 127.4 kB / 0.5939 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3737, allocations: 0 / 0.5939 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04665/0.4203, allocations: 8.802 MB / 0.6025 GB, free: 8.105 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.89, allocations: 3.984 kB / 0.6025 GB, free: 8.102 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.254721693927422]