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.001826/0.001826, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002303/0.002303, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.565/1.565, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2435/0.2435, allocations: 46.95 MB / 360.8 MB, free: 3.953 MB / 286.1 MB " [Timeout remaining time 179] 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.002447/0.002447, allocations: 84.11 kB / 0.4961 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.346, allocations: 66.09 MB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004097/0.35, allocations: 2.664 MB / 0.5633 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3515, allocations: 0.7595 MB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.3517, allocations: 15.88 kB / 0.564 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3519, allocations: 63.31 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.3522, allocations: 130.9 kB / 0.5642 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.3525, allocations: 119.8 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.353, allocations: 450.3 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.3533, allocations: 128.6 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.3535, allocations: 179.4 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.3538, allocations: 171.1 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.3538, allocations: 36 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.712e-05/0.3539, allocations: 40 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.354, allocations: 91.61 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.3542, allocations: 163.3 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.3547, allocations: 458 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3547, allocations: 0 / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3547, allocations: 0 / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.3547, allocations: 0 / 0.566 GB, free: 14.6 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.0009877/0.3557, allocations: 0.626 MB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3557, allocations: 8.031 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.3558, allocations: 78.7 kB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.3561, allocations: 76.62 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.3565, allocations: 233.6 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.3566, allocations: 37.36 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.3566, allocations: 36.38 kB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/0.3573, allocations: 385.2 kB / 0.5674 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.3573, allocations: 7.938 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.3573, allocations: 16 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3573, allocations: 8 kB / 0.5674 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.3578, allocations: 243.8 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.3594, allocations: 0.9809 MB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.36, allocations: 327.4 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.3603, allocations: 158.5 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.3603, allocations: 8 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.3604, allocations: 42.5 kB / 0.5691 GB, free: 11.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 1.733e-06/0.3604, allocations: 3.938 kB / 0.5691 GB, free: 11.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.003799/0.3642, allocations: 2.011 MB / 0.5711 GB, free: 9.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.3642, allocations: 114.8 kB / 0.5712 GB, free: 8.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.3645, allocations: 237.9 kB / 0.5714 GB, free: 8.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.3645, allocations: 41.7 kB / 0.5715 GB, free: 8.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3647, allocations: 188.9 kB / 0.5717 GB, free: 8.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.3648, allocations: 206.2 kB / 0.5719 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.365, allocations: 86.34 kB / 0.5719 GB, free: 8.109 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3651, allocations: 350.7 kB / 0.5723 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.3654, allocations: 129.2 kB / 0.5724 GB, free: 7.633 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.3657, allocations: 236.7 kB / 0.5726 GB, free: 7.363 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.3663, allocations: 406 kB / 0.573 GB, free: 6.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.3663, allocations: 4 kB / 0.573 GB, free: 6.926 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009953/0.3673, allocations: 0.55 MB / 0.5736 GB, free: 6.359 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3674, allocations: 4 kB / 0.5736 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3674, allocations: 4 kB / 0.5736 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.3677, allocations: 134.6 kB / 0.5737 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.3681, allocations: 95.88 kB / 0.5738 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/0.3725, allocations: 4.872 MB / 0.5785 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.3727, allocations: 20.42 kB / 0.5786 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.3728, allocations: 24 kB / 0.5786 GB, free: 0.8633 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.0002384/0.373, allocations: 161.8 kB / 0.5787 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3731, allocations: 47.75 kB / 0.5788 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.482e-05/0.3732, allocations: 42.12 kB / 0.5788 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3732, allocations: 11.98 kB / 0.5788 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.3732, allocations: 7.938 kB / 0.5788 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.3732, allocations: 0 / 0.5788 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.3753, allocations: 1.237 MB / 0.58 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3753, allocations: 4 kB / 0.5801 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.3757, allocations: 91.98 kB / 0.5801 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/0.376, allocations: 102.4 kB / 0.5802 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.376, allocations: 15.98 kB / 0.5803 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00353/0.3795, allocations: 4.098 MB / 0.5843 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3795, allocations: 7.969 kB / 0.5843 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.381, allocations: 0.9163 MB / 0.5852 GB, free: 9.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.381, allocations: 31.77 kB / 0.5852 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.3811, allocations: 19.98 kB / 0.5852 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.3813, allocations: 19.94 kB / 0.5852 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3815, allocations: 51.84 kB / 0.5853 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.3815, allocations: 12 kB / 0.5853 GB, free: 9.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.3817, allocations: 177.2 kB / 0.5855 GB, free: 9.352 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3817, allocations: 0 / 0.5855 GB, free: 9.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007186/0.3824, allocations: 120 kB / 0.5856 GB, free: 9.234 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.001694/0.3841, allocations: 1.471 MB / 0.587 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.3854, allocations: 0.761 MB / 0.5877 GB, free: 6.922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3854, allocations: 0 / 0.5877 GB, free: 6.922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.3862, allocations: 0.5686 MB / 0.5883 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000631/0.3869, allocations: 57.03 kB / 0.5884 GB, free: 6.262 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006117/0.393, allocations: 4.186 MB / 0.5924 GB, free: 1.887 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3933, allocations: 220.9 kB / 0.5927 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.3934, allocations: 39.27 kB / 0.5927 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.3936, allocations: 127.4 kB / 0.5928 GB, free: 1.484 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3936, allocations: 0 / 0.5928 GB, free: 1.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05608/0.4497, allocations: 9.189 MB / 0.6018 GB, free: 8.438 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.32, allocations: 3.984 kB / 0.6018 GB, free: 8.434 MB / 446.1 MB " [Timeout remaining time 648] (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.663551931735128]