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.001666/0.001666, allocations: 116.5 kB / 20.43 MB, free: 1.301 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.002465/0.002465, allocations: 206.6 kB / 23.74 MB, free: 4.539 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.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2438/0.2438, allocations: 46.93 MB / 360.8 MB, free: 4.172 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.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.002444/0.002444, allocations: 83.86 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3923, allocations: 66.08 MB / 0.5607 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003494/0.3958, allocations: 1.866 MB / 0.5625 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005016/0.3963, allocations: 155.4 kB / 0.5627 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3964, allocations: 4 kB / 0.5627 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.05e-05/0.3965, allocations: 27.72 kB / 0.5627 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.3967, allocations: 51.55 kB / 0.5628 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.3968, allocations: 35.94 kB / 0.5628 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3971, allocations: 195.1 kB / 0.563 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.3973, allocations: 41.72 kB / 0.563 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3974, allocations: 67.78 kB / 0.5631 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.3975, allocations: 75.64 kB / 0.5632 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.3975, allocations: 12 kB / 0.5632 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.062e-05/0.3976, allocations: 16 kB / 0.5632 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.3976, allocations: 31.91 kB / 0.5632 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.3977, allocations: 83.61 kB / 0.5633 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.398, allocations: 185 kB / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.398, allocations: 0 / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.398, allocations: 0 / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.398, allocations: 4 kB / 0.5635 GB, free: 1.324 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.000636/0.3986, allocations: 382 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3987, allocations: 8.031 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.3987, allocations: 54.67 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.3988, allocations: 20.78 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.399, allocations: 154.3 kB / 0.5641 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.399, allocations: 16.7 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.3991, allocations: 16.33 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.3994, allocations: 174.1 kB / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.3994, allocations: 7.938 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3994, allocations: 8 kB / 0.5643 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.3994, allocations: 4 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3996, allocations: 85.27 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.4006, allocations: 0.5501 MB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.4008, allocations: 121.2 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.4009, allocations: 49.7 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.4009, allocations: 4 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.4009, allocations: 38.69 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.4009, allocations: 0 / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007683/0.4017, allocations: 227.1 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.4018, allocations: 77.11 kB / 0.5654 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.4019, allocations: 126.1 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4019, allocations: 29.7 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.402, allocations: 132.2 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.4021, allocations: 63.47 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.4022, allocations: 37.7 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4023, allocations: 330.8 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.4024, allocations: 35.98 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4025, allocations: 104.5 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.4028, allocations: 157 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.4028, allocations: 8 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004352/0.4032, allocations: 219 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4032, allocations: 8 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4032, allocations: 0 / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.4035, allocations: 57.88 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.4037, allocations: 31.98 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.4063, allocations: 2.791 MB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.4064, allocations: 11.92 kB / 0.5694 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.4064, allocations: 12 kB / 0.5694 GB, free: 10.69 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.0001789/0.4066, allocations: 129.8 kB / 0.5696 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.4067, allocations: 20 kB / 0.5696 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.4067, allocations: 16.66 kB / 0.5696 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.4067, allocations: 4 kB / 0.5696 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4067, allocations: 0 / 0.5696 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4067, allocations: 0 / 0.5696 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.407, allocations: 208.6 kB / 0.5698 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4071, allocations: 0 / 0.5698 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.4072, allocations: 31.92 kB / 0.5698 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.4074, allocations: 45.7 kB / 0.5699 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.4074, allocations: 7.938 kB / 0.5699 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.4099, allocations: 2.78 MB / 0.5726 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4099, allocations: 0 / 0.5726 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.4104, allocations: 371.4 kB / 0.5729 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.4104, allocations: 15.94 kB / 0.573 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.4104, allocations: 8 kB / 0.573 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4105, allocations: 8 kB / 0.573 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.4106, allocations: 7.984 kB / 0.573 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.4106, allocations: 4 kB / 0.573 GB, free: 6.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.054e-05/0.4107, allocations: 105.6 kB / 0.5731 GB, free: 6.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4107, allocations: 96 / 0.5731 GB, free: 6.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.4112, allocations: 63.83 kB / 0.5731 GB, free: 6.582 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.0008701/0.412, allocations: 0.8916 MB / 0.574 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007076/0.4127, allocations: 349.2 kB / 0.5744 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4127, allocations: 0 / 0.5744 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.4131, allocations: 281.2 kB / 0.5746 GB, free: 4.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.4137, allocations: 38.95 kB / 0.5747 GB, free: 4.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.4167, allocations: 2.334 MB / 0.5769 GB, free: 2.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.4171, allocations: 0.7242 MB / 0.5776 GB, free: 1.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.373e-05/0.4172, allocations: 9.438 kB / 0.5777 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.4173, allocations: 43.8 kB / 0.5777 GB, free: 1.664 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4173, allocations: 0 / 0.5777 GB, free: 1.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.4565, allocations: 3.941 MB / 0.5815 GB, free: 13.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.6, allocations: 7.922 kB / 0.5816 GB, free: 13.83 MB / 430.1 MB " [Timeout remaining time 647] (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.819769501998962]