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.0008891/0.0008891, allocations: 96.27 kB / 20.96 MB, free: 3.477 MB / 18.57 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.000945/0.000945, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 18.57 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 0.9357/0.9357, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2555/0.2555, allocations: 34.24 MB / 295.2 MB, free: 0.6406 MB / 266.7 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 1.653e-06/1.653e-06, allocations: 0 / 376.7 MB, free: 3.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.091e-05, allocations: 2.312 kB / 376.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002316/0.002337, allocations: 1.784 MB / 378.5 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00036/0.002697, allocations: 151.5 kB / 378.6 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.68e-05/0.002764, allocations: 7.938 kB / 378.6 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.301e-05/0.002817, allocations: 23.73 kB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.002954, allocations: 55.48 kB / 378.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.0031, allocations: 35.94 kB / 378.7 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.003272, allocations: 199 kB / 378.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.003405, allocations: 37.72 kB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.003532, allocations: 107.8 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.41e-05/0.003616, allocations: 51.88 kB / 379.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.003644, allocations: 20 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.003662, allocations: 12 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.00369, allocations: 35.84 kB / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.003743, allocations: 59.89 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.003927, allocations: 183.4 kB / 379.4 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.00393, allocations: 0 / 379.4 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.003932, allocations: 4 kB / 379.4 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.003937, allocations: 0 / 379.4 MB, free: 0.6367 MB / 346.7 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.0004139/0.004351, allocations: 374 kB / 379.8 MB, free: 240 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.00439, allocations: 12.03 kB / 379.8 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.004431, allocations: 54.73 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.004482, allocations: 28.84 kB / 379.9 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.00465, allocations: 145.5 kB / 380 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.004664, allocations: 16.7 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.004693, allocations: 12.38 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.004925, allocations: 174.1 kB / 380.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.00494, allocations: 8.141 kB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.004954, allocations: 4.375 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.004961, allocations: 8.125 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.005077, allocations: 91.95 kB / 380.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.005656, allocations: 0.519 MB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.005833, allocations: 125.1 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.005895, allocations: 45.7 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.005906, allocations: 4 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.00593, allocations: 42.67 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.005931, allocations: 0 / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004821/0.006413, allocations: 235 kB / 381.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.006449, allocations: 85.09 kB / 381.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.006795, allocations: 124.5 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.006808, allocations: 29.7 kB / 381.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.006866, allocations: 132.2 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.006897, allocations: 59.48 kB / 381.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.006937, allocations: 41.7 kB / 381.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.007014, allocations: 326.8 kB / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.007064, allocations: 35.98 kB / 382.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.596e-05/0.00714, allocations: 108.4 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.007275, allocations: 156.8 kB / 382.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.007278, allocations: 0 / 382.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002434/0.007521, allocations: 234.9 kB / 382.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.007534, allocations: 8 kB / 382.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.00754, allocations: 240 / 382.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.007707, allocations: 57.92 kB / 382.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.007803, allocations: 35.92 kB / 382.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.009232, allocations: 2.784 MB / 385.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.009283, allocations: 16.03 kB / 385.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.009292, allocations: 8 kB / 385.5 MB, free: 10.02 MB / 362.7 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 8.332e-05/0.009375, allocations: 133.8 kB / 385.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.009407, allocations: 19.94 kB / 385.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.009426, allocations: 12.78 kB / 385.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.009427, allocations: 0 / 385.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.009436, allocations: 7.938 kB / 385.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.009439, allocations: 0 / 385.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.009625, allocations: 196.7 kB / 385.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009626, allocations: 0 / 385.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.009726, allocations: 27.98 kB / 385.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.86e-05/0.009814, allocations: 49.69 kB / 386 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.009825, allocations: 4 kB / 386 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.0114, allocations: 2.78 MB / 388.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.0114, allocations: 0 / 388.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.01168, allocations: 383.5 kB / 389.1 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.01169, allocations: 11.89 kB / 389.1 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.0117, allocations: 8 kB / 389.1 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.183e-05/0.01176, allocations: 4 kB / 389.1 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.01179, allocations: 16.08 kB / 389.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.0118, allocations: 11.98 kB / 389.2 MB, free: 6.066 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.197e-05/0.01184, allocations: 101.8 kB / 389.3 MB, free: 5.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01184, allocations: 0 / 389.3 MB, free: 5.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.01215, allocations: 51.95 kB / 389.3 MB, free: 5.918 MB / 362.7 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.000426/0.01258, allocations: 0.9084 MB / 390.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.01294, allocations: 345 kB / 390.6 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01294, allocations: 0 / 390.6 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.0131, allocations: 277.2 kB / 390.8 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01342, allocations: 40.2 kB / 390.9 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.01515, allocations: 2.213 MB / 393.1 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.852e-05/0.01523, allocations: 112.2 kB / 393.2 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.01527, allocations: 13.48 kB / 393.2 MB, free: 1.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.01532, allocations: 48.48 kB / 393.3 MB, free: 1.723 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01532, allocations: 0 / 393.3 MB, free: 1.723 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.03785, allocations: 4.67 MB / 397.9 MB, free: 13.15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/7.384, allocations: 0 / 397.9 MB, free: 13.15 MB / 378.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/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: 9.418188376352191]