Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2924/0.2924, allocations: 46.93 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 67.91 kB / 0.4962 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3516, allocations: 66.03 MB / 0.5606 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003629/0.3552, allocations: 1.868 MB / 0.5625 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004238/0.3556, allocations: 151.4 kB / 0.5626 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.655e-05/0.3557, allocations: 4 kB / 0.5626 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.121e-05/0.3558, allocations: 23.8 kB / 0.5626 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.356, allocations: 51.48 kB / 0.5627 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.3561, allocations: 35.95 kB / 0.5627 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.3564, allocations: 195.1 kB / 0.5629 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3566, allocations: 45.66 kB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3567, allocations: 67.78 kB / 0.563 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.3568, allocations: 79.62 kB / 0.5631 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.3569, allocations: 12 kB / 0.5631 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-05/0.3569, allocations: 16 kB / 0.5631 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.3569, allocations: 27.92 kB / 0.5631 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.357, allocations: 87.59 kB / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.3573, allocations: 181.1 kB / 0.5634 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3573, allocations: 0 / 0.5634 GB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3573, allocations: 4 kB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3573, allocations: 7.938 kB / 0.5634 GB, free: 1.645 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.0006697/0.358, allocations: 377.9 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.358, allocations: 12.03 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.569e-05/0.3581, allocations: 50.73 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.3581, allocations: 16.84 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3584, allocations: 146.3 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3584, allocations: 12.7 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.3584, allocations: 28.33 kB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.3588, allocations: 162.2 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.3588, allocations: 11.88 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3588, allocations: 4 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.3588, allocations: 4 kB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.359, allocations: 91.94 kB / 0.5643 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008992/0.3599, allocations: 0.554 MB / 0.5648 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.3601, allocations: 125.1 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.595e-05/0.3602, allocations: 45.7 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.3603, allocations: 8 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3603, allocations: 34.56 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.3603, allocations: 0 / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008072/0.3611, allocations: 223.5 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.3612, allocations: 81.05 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3613, allocations: 130.1 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3613, allocations: 29.8 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.3614, allocations: 132.1 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.3615, allocations: 63.47 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.3615, allocations: 33.72 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3617, allocations: 326.8 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.3617, allocations: 35.98 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3619, allocations: 104.6 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.3621, allocations: 156.4 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3621, allocations: 8 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004198/0.3625, allocations: 215 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3625, allocations: 11.94 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3625, allocations: 3.984 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.3628, allocations: 49.95 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.3629, allocations: 35.92 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.3656, allocations: 2.787 MB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3657, allocations: 19.92 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3658, allocations: 7.984 kB / 0.5693 GB, free: 11.02 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.0001678/0.3659, allocations: 133.8 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.366, allocations: 19.91 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.366, allocations: 16.66 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.366, allocations: 7.984 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.366, allocations: 0 / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.366, allocations: 0 / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.3664, allocations: 204.6 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3664, allocations: 96 / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3666, allocations: 27.98 kB / 0.5697 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.3667, allocations: 57.7 kB / 0.5698 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3667, allocations: 11.88 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.3692, allocations: 2.772 MB / 0.5725 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3692, allocations: 0 / 0.5725 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.3697, allocations: 372.4 kB / 0.5729 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.3697, allocations: 15.98 kB / 0.5729 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.3697, allocations: 8.062 kB / 0.5729 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3699, allocations: 3.938 kB / 0.5729 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.3699, allocations: 15.97 kB / 0.5729 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.3699, allocations: 4 kB / 0.5729 GB, free: 7.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.016e-05/0.37, allocations: 101.9 kB / 0.573 GB, free: 6.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.37, allocations: 0 / 0.573 GB, free: 6.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005173/0.3705, allocations: 55.89 kB / 0.5731 GB, free: 6.91 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.0008952/0.3714, allocations: 0.8968 MB / 0.5739 GB, free: 5.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006909/0.3721, allocations: 349.2 kB / 0.5743 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3721, allocations: 0 / 0.5743 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.3724, allocations: 281.2 kB / 0.5745 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.373, allocations: 40.17 kB / 0.5746 GB, free: 5.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.3761, allocations: 2.334 MB / 0.5769 GB, free: 2.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3765, allocations: 0.7203 MB / 0.5776 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.232e-05/0.3765, allocations: 17.36 kB / 0.5776 GB, free: 2.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.3766, allocations: 43.42 kB / 0.5776 GB, free: 1.984 MB / 414.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3766, allocations: 0 / 0.5776 GB, free: 1.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03889/0.4155, allocations: 3.94 MB / 0.5815 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.52, allocations: 4.062 kB / 0.5815 GB, free: 14.18 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.842574082998908]