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.001523/0.001523, allocations: 107.8 kB / 20.48 MB, free: 1.125 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.001483/0.001483, allocations: 212.2 kB / 23.78 MB, free: 4.328 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.552/1.552, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.2348/0.2348, allocations: 46.95 MB / 360.8 MB, free: 3.914 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.002315/0.002315, allocations: 79.88 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.361, allocations: 66.08 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003336/0.3643, allocations: 1.785 MB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003822/0.3647, allocations: 151.4 kB / 0.5626 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/0.3648, allocations: 4 kB / 0.5626 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.773e-05/0.3649, allocations: 19.73 kB / 0.5627 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3651, allocations: 51.55 kB / 0.5627 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.3652, allocations: 35.95 kB / 0.5627 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.3654, allocations: 195 kB / 0.5629 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3656, allocations: 33.73 kB / 0.563 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3657, allocations: 75.77 kB / 0.563 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.3658, allocations: 59.7 kB / 0.5631 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.3658, allocations: 20 kB / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.995e-05/0.3659, allocations: 16 kB / 0.5631 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.3659, allocations: 31.86 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.376e-05/0.366, allocations: 67.72 kB / 0.5632 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.3662, allocations: 189 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3663, allocations: 0 / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3663, allocations: 0 / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3663, allocations: 7.938 kB / 0.5634 GB, free: 1.297 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.0005683/0.3668, allocations: 374 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3669, allocations: 16.03 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.442e-05/0.3669, allocations: 50.73 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.367, allocations: 16.84 kB / 0.5638 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3672, allocations: 146.3 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.3672, allocations: 12.7 kB / 0.564 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.3672, allocations: 24.33 kB / 0.564 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3675, allocations: 170.1 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3675, allocations: 7.875 kB / 0.5642 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3676, allocations: 7.984 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3676, allocations: 4 kB / 0.5642 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.3677, allocations: 87.95 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.3686, allocations: 0.5268 MB / 0.5648 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.3688, allocations: 121.2 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.3689, allocations: 53.69 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.3689, allocations: 4 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.3689, allocations: 34.56 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3689, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007689/0.3697, allocations: 227.2 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.3698, allocations: 81.11 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3699, allocations: 134 kB / 0.5654 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3699, allocations: 25.7 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.37, allocations: 132.2 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.3701, allocations: 59.52 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.3701, allocations: 45.66 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3703, allocations: 318.8 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.3703, allocations: 35.98 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3705, allocations: 108.6 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.3707, allocations: 160.8 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3707, allocations: 0 / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003669/0.371, allocations: 226.9 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.371, allocations: 4 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3711, allocations: 4 kB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.3713, allocations: 53.94 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3714, allocations: 36.16 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.3737, allocations: 2.767 MB / 0.5693 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.3738, allocations: 23.98 kB / 0.5693 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.3738, allocations: 8 kB / 0.5693 GB, free: 10.71 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.0001133/0.3739, allocations: 125.8 kB / 0.5694 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.374, allocations: 15.91 kB / 0.5694 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.374, allocations: 20.8 kB / 0.5695 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.374, allocations: 3.984 kB / 0.5695 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.374, allocations: 4 kB / 0.5695 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.374, allocations: 7.984 kB / 0.5695 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.3743, allocations: 192.6 kB / 0.5697 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3743, allocations: 0 / 0.5697 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3745, allocations: 31.98 kB / 0.5697 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/0.3746, allocations: 49.62 kB / 0.5697 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3746, allocations: 7.938 kB / 0.5697 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/0.3768, allocations: 2.757 MB / 0.5724 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3768, allocations: 7.969 kB / 0.5724 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.3772, allocations: 372.4 kB / 0.5728 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.3773, allocations: 11.89 kB / 0.5728 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3773, allocations: 8.062 kB / 0.5728 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3774, allocations: 3.938 kB / 0.5728 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.3774, allocations: 15.97 kB / 0.5728 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3774, allocations: 12.28 kB / 0.5728 GB, free: 6.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.997e-05/0.3775, allocations: 101.9 kB / 0.5729 GB, free: 6.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3775, allocations: 0 / 0.5729 GB, free: 6.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.378, allocations: 59.83 kB / 0.573 GB, free: 6.613 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.0008144/0.3788, allocations: 0.9067 MB / 0.5739 GB, free: 5.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000644/0.3794, allocations: 349.3 kB / 0.5742 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3794, allocations: 0 / 0.5742 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.3798, allocations: 277.3 kB / 0.5745 GB, free: 5.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.3803, allocations: 23.98 kB / 0.5745 GB, free: 4.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.3831, allocations: 2.331 MB / 0.5768 GB, free: 2.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3832, allocations: 108.1 kB / 0.5769 GB, free: 2.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.481e-05/0.3832, allocations: 13.42 kB / 0.5769 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.3833, allocations: 43.42 kB / 0.5769 GB, free: 2.324 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3833, allocations: 0 / 0.5769 GB, free: 2.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.4182, allocations: 4.521 MB / 0.5814 GB, free: 13.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 8.062 kB / 0.5814 GB, free: 13.93 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: 14.993660894688219]