Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001363/0.001363, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001522/0.001522, allocations: 203.4 kB / 23.72 MB, free: 4.391 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.535/1.535, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2707/0.2707, allocations: 46.94 MB / 360.8 MB, free: 3.902 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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 75.88 kB / 0.4961 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3826, allocations: 66.08 MB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00362/0.3862, allocations: 1.782 MB / 0.5624 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004094/0.3866, allocations: 147.5 kB / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.3867, allocations: 3.938 kB / 0.5626 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.139e-05/0.3868, allocations: 23.78 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.3869, allocations: 63.48 kB / 0.5626 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.3871, allocations: 31.97 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.3873, allocations: 187.1 kB / 0.5629 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3875, allocations: 37.72 kB / 0.5629 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.3876, allocations: 71.73 kB / 0.563 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3878, allocations: 67.67 kB / 0.563 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.3878, allocations: 16 kB / 0.563 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-05/0.3878, allocations: 12 kB / 0.563 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.3879, allocations: 35.86 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.3879, allocations: 67.73 kB / 0.5631 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.3882, allocations: 193 kB / 0.5633 GB, free: 1.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3882, allocations: 0 / 0.5633 GB, free: 1.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3882, allocations: 0 / 0.5633 GB, free: 1.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3882, allocations: 0 / 0.5633 GB, free: 1.254 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006883/0.3889, allocations: 385.9 kB / 0.5637 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.389, allocations: 8.031 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.389, allocations: 50.73 kB / 0.5638 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.3891, allocations: 16.84 kB / 0.5638 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3893, allocations: 146.3 kB / 0.5639 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3893, allocations: 20.69 kB / 0.5639 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.3894, allocations: 16.33 kB / 0.5639 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.3897, allocations: 162.2 kB / 0.5641 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.3897, allocations: 11.92 kB / 0.5641 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.3897, allocations: 8 kB / 0.5641 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3897, allocations: 4 kB / 0.5641 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3899, allocations: 91.14 kB / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.3908, allocations: 0.5268 MB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.391, allocations: 133.1 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.3911, allocations: 49.7 kB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.3911, allocations: 0 / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.3912, allocations: 38.55 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.3912, allocations: 0 / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007796/0.3919, allocations: 223.3 kB / 0.5652 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.392, allocations: 77.11 kB / 0.5652 GB, free: 15.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3922, allocations: 132.4 kB / 0.5654 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.3922, allocations: 33.7 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.3923, allocations: 128.2 kB / 0.5655 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.3924, allocations: 55.55 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.3924, allocations: 37.7 kB / 0.5656 GB, free: 14.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.3927, allocations: 326.8 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.3928, allocations: 39.92 kB / 0.5659 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3929, allocations: 112.5 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.3931, allocations: 156.5 kB / 0.5662 GB, free: 14.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3931, allocations: 0 / 0.5662 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004022/0.3935, allocations: 227.3 kB / 0.5664 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3935, allocations: 4 kB / 0.5664 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3935, allocations: 4.094 kB / 0.5664 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.3938, allocations: 53.62 kB / 0.5665 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3939, allocations: 35.92 kB / 0.5665 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.3967, allocations: 2.772 MB / 0.5692 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-05/0.3968, allocations: 15.89 kB / 0.5692 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3968, allocations: 8 kB / 0.5692 GB, free: 10.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001637/0.3969, allocations: 142 kB / 0.5694 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.397, allocations: 15.91 kB / 0.5694 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.397, allocations: 16.66 kB / 0.5694 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.397, allocations: 4 kB / 0.5694 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.397, allocations: 0 / 0.5694 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.397, allocations: 0 / 0.5694 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.3974, allocations: 196.6 kB / 0.5696 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3974, allocations: 0 / 0.5696 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.3975, allocations: 27.98 kB / 0.5696 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.3976, allocations: 45.7 kB / 0.5697 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.3977, allocations: 11.92 kB / 0.5697 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.4001, allocations: 2.761 MB / 0.5724 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4001, allocations: 4.062 kB / 0.5724 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.4006, allocations: 372.4 kB / 0.5727 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.4006, allocations: 15.88 kB / 0.5727 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4006, allocations: 128 / 0.5727 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4008, allocations: 16 kB / 0.5728 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.4008, allocations: 11.92 kB / 0.5728 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.4008, allocations: 4 kB / 0.5728 GB, free: 6.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.556e-05/0.4009, allocations: 103.2 kB / 0.5729 GB, free: 6.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4009, allocations: 0 / 0.5729 GB, free: 6.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004656/0.4014, allocations: 59.89 kB / 0.5729 GB, free: 6.574 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,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.0008552/0.4022, allocations: 0.8917 MB / 0.5738 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006207/0.4028, allocations: 357.4 kB / 0.5741 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4028, allocations: 8.062 kB / 0.5742 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.4032, allocations: 273.4 kB / 0.5744 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.4037, allocations: 36.19 kB / 0.5744 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.407, allocations: 2.326 MB / 0.5767 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.4071, allocations: 116.1 kB / 0.5768 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.4072, allocations: 13.42 kB / 0.5768 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.4073, allocations: 39.42 kB / 0.5769 GB, free: 2.277 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4073, allocations: 0 / 0.5769 GB, free: 2.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05387/0.4611, allocations: 4.412 MB / 0.5812 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.17, allocations: 4.047 kB / 0.5812 GB, free: 14 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia1.phi in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.39772290084511]