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.001344/0.001344, allocations: 107.4 kB / 20.48 MB, free: 1.262 MB / 14.72 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.001485/0.001485, allocations: 211.1 kB / 23.77 MB, free: 4.434 MB / 14.72 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 1.443/1.443, allocations: 230.5 MB / 257.5 MB, free: 7.707 MB / 206.1 MB " [Timeout remaining time 178] 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.2384/0.2384, allocations: 46.95 MB / 360.9 MB, free: 3.875 MB / 286.1 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 0.002385/0.002385, allocations: 75.88 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3449, allocations: 66.09 MB / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004551/0.3495, allocations: 2.637 MB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.3513, allocations: 0.7751 MB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.3515, allocations: 15.88 kB / 0.5641 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.3518, allocations: 67.31 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.3521, allocations: 122.9 kB / 0.5643 GB, free: 360 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.3526, allocations: 123.8 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006578/0.3532, allocations: 450.4 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.3536, allocations: 128.6 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.354, allocations: 187.3 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.3543, allocations: 167.2 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.969e-05/0.3543, allocations: 36 kB / 0.5654 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3544, allocations: 36 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.547e-05/0.3545, allocations: 87.69 kB / 0.5655 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.3548, allocations: 171.1 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005822/0.3554, allocations: 462 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3554, allocations: 4 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3554, allocations: 0 / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.3554, allocations: 0 / 0.5661 GB, free: 14.53 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.00114/0.3565, allocations: 0.6143 MB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3566, allocations: 16.03 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.397e-05/0.3567, allocations: 74.72 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.3571, allocations: 72.61 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.3576, allocations: 233.7 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.3576, allocations: 29.38 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.953e-05/0.3577, allocations: 40.38 kB / 0.5671 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007689/0.3585, allocations: 389.1 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.3585, allocations: 3.953 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.3585, allocations: 16 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.3586, allocations: 12 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005577/0.3591, allocations: 243.8 kB / 0.5678 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.361, allocations: 0.9808 MB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.3616, allocations: 331.5 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.3619, allocations: 158.4 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.3619, allocations: 4 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.362, allocations: 42.5 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.284e-06/0.362, allocations: 0 / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004284/0.3663, allocations: 2.014 MB / 0.5712 GB, free: 8.961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/0.3664, allocations: 114.8 kB / 0.5713 GB, free: 8.824 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.3667, allocations: 245.9 kB / 0.5715 GB, free: 8.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.3667, allocations: 33.7 kB / 0.5716 GB, free: 8.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.3669, allocations: 184.9 kB / 0.5717 GB, free: 8.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.3671, allocations: 222.1 kB / 0.572 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.3672, allocations: 86.28 kB / 0.572 GB, free: 8.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3674, allocations: 350.7 kB / 0.5724 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.3677, allocations: 129.2 kB / 0.5725 GB, free: 7.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.368, allocations: 228.8 kB / 0.5727 GB, free: 7.309 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007209/0.3687, allocations: 409.9 kB / 0.5731 GB, free: 6.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3688, allocations: 0 / 0.5731 GB, free: 6.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001157/0.3699, allocations: 0.5423 MB / 0.5736 GB, free: 6.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3699, allocations: 8 kB / 0.5736 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3699, allocations: 4.281 kB / 0.5736 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.3704, allocations: 126.5 kB / 0.5738 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.3708, allocations: 95.83 kB / 0.5739 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004977/0.3757, allocations: 4.88 MB / 0.5786 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.376, allocations: 24.02 kB / 0.5786 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.445e-05/0.3761, allocations: 16 kB / 0.5787 GB, free: 0.8164 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.0002311/0.3763, allocations: 173.8 kB / 0.5788 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.3764, allocations: 39.77 kB / 0.5789 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.3765, allocations: 46.11 kB / 0.5789 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3765, allocations: 8 kB / 0.5789 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.3766, allocations: 7.938 kB / 0.5789 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3766, allocations: 3.984 kB / 0.5789 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.3788, allocations: 1.248 MB / 0.5801 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3788, allocations: 0 / 0.5801 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.3792, allocations: 91.89 kB / 0.5802 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.3795, allocations: 102.5 kB / 0.5803 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.3796, allocations: 15.98 kB / 0.5804 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.3835, allocations: 4.095 MB / 0.5843 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3835, allocations: 0 / 0.5843 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.385, allocations: 0.9204 MB / 0.5852 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.3851, allocations: 35.83 kB / 0.5853 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.3851, allocations: 20.05 kB / 0.5853 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.3854, allocations: 15.98 kB / 0.5853 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3855, allocations: 55.78 kB / 0.5854 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.3856, allocations: 16 kB / 0.5854 GB, free: 9.461 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.3858, allocations: 177.2 kB / 0.5856 GB, free: 9.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3858, allocations: 0 / 0.5856 GB, free: 9.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007307/0.3865, allocations: 120 kB / 0.5857 GB, free: 9.172 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.001862/0.3883, allocations: 1.467 MB / 0.5871 GB, free: 7.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.3898, allocations: 0.7573 MB / 0.5878 GB, free: 6.863 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3898, allocations: 0 / 0.5878 GB, free: 6.863 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000869/0.3906, allocations: 0.5606 MB / 0.5884 GB, free: 6.266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.3913, allocations: 66.2 kB / 0.5885 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/0.3976, allocations: 4.178 MB / 0.5925 GB, free: 1.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.3978, allocations: 220.9 kB / 0.5927 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.398, allocations: 31.28 kB / 0.5928 GB, free: 1.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.3982, allocations: 128.5 kB / 0.5929 GB, free: 1.438 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3982, allocations: 4 kB / 0.5929 GB, free: 1.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04697/0.4452, allocations: 9.259 MB / 0.6019 GB, free: 8.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.68, allocations: 11.38 kB / 0.602 GB, free: 8.312 MB / 446.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 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.csv","/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_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable J2.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J2.w in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J2.w from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! Error: Could not read variable J5.w in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv. Warning: Get data of variable J5.w from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.827670873026364]