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.001648/0.001648, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00148/0.00148, allocations: 216.2 kB / 24.54 MB, free: 4.02 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.3 MB / 258 MB, free: 8.223 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.2377/0.2377, allocations: 46.9 MB / 361.3 MB, free: 4.438 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.002326/0.002326, allocations: 83.84 kB / 0.4966 GB, free: 8.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3699, allocations: 66.03 MB / 0.5611 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00338/0.3733, allocations: 1.856 MB / 0.5629 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004093/0.3737, allocations: 147.4 kB / 0.563 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.3738, allocations: 11.94 kB / 0.563 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.9e-05/0.3739, allocations: 23.73 kB / 0.563 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.374, allocations: 51.55 kB / 0.5631 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.3742, allocations: 39.94 kB / 0.5631 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.3744, allocations: 187.1 kB / 0.5633 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.3746, allocations: 41.72 kB / 0.5633 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.3747, allocations: 67.78 kB / 0.5634 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.3748, allocations: 71.7 kB / 0.5635 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.3748, allocations: 19.94 kB / 0.5635 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.3749, allocations: 16 kB / 0.5635 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.3749, allocations: 31.91 kB / 0.5635 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.375, allocations: 87.59 kB / 0.5636 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.3753, allocations: 189.2 kB / 0.5638 GB, free: 1.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3753, allocations: 0 / 0.5638 GB, free: 1.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3753, allocations: 0 / 0.5638 GB, free: 1.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3753, allocations: 0 / 0.5638 GB, free: 1.836 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.0006911/0.376, allocations: 459 kB / 0.5642 GB, free: 1.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.376, allocations: 16.03 kB / 0.5643 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.752e-05/0.3761, allocations: 46.73 kB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.3761, allocations: 16.84 kB / 0.5643 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.3764, allocations: 212.1 kB / 0.5645 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3764, allocations: 12.7 kB / 0.5645 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.3765, allocations: 24.31 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.3768, allocations: 162.1 kB / 0.5647 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.3768, allocations: 7.938 kB / 0.5647 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.3768, allocations: 11.98 kB / 0.5647 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3768, allocations: 8 kB / 0.5647 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.377, allocations: 83.95 kB / 0.5648 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.3779, allocations: 0.6074 MB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.3782, allocations: 125.2 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.3783, allocations: 53.69 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.3783, allocations: 0 / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.3783, allocations: 42.67 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.3783, allocations: 0 / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.00087/0.3792, allocations: 377.3 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.3792, allocations: 81.11 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3794, allocations: 128.5 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3794, allocations: 33.7 kB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.579e-05/0.3795, allocations: 128.2 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.3795, allocations: 67.45 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.3796, allocations: 33.72 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3798, allocations: 326.8 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.3799, allocations: 31.98 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.38, allocations: 108.5 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.3803, allocations: 156.8 kB / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3803, allocations: 0 / 0.567 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003969/0.3807, allocations: 223.1 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3807, allocations: 4 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3807, allocations: 7.984 kB / 0.5673 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.3809, allocations: 49.64 kB / 0.5673 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3811, allocations: 31.98 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/0.3838, allocations: 2.998 MB / 0.5703 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.3839, allocations: 19.98 kB / 0.5703 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3839, allocations: 16 kB / 0.5703 GB, free: 10.52 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.0001524/0.384, allocations: 130.9 kB / 0.5704 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.3841, allocations: 11.91 kB / 0.5704 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.3841, allocations: 24.64 kB / 0.5705 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3841, allocations: 0 / 0.5705 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.3842, allocations: 4 kB / 0.5705 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3842, allocations: 0 / 0.5705 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.3845, allocations: 233.5 kB / 0.5707 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3845, allocations: 3.984 kB / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.3847, allocations: 27.94 kB / 0.5707 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.3848, allocations: 45.69 kB / 0.5708 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.3849, allocations: 11.94 kB / 0.5708 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.3874, allocations: 2.975 MB / 0.5737 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3874, allocations: 0 / 0.5737 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.3879, allocations: 375.3 kB / 0.574 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.388, allocations: 92.98 kB / 0.5741 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.388, allocations: 8.188 kB / 0.5741 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3881, allocations: 7.938 kB / 0.5741 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.3881, allocations: 11.98 kB / 0.5741 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3881, allocations: 12.08 kB / 0.5742 GB, free: 6.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.073e-05/0.3882, allocations: 99.2 kB / 0.5742 GB, free: 6.086 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3882, allocations: 0 / 0.5742 GB, free: 6.086 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004845/0.3887, allocations: 55.89 kB / 0.5743 GB, free: 6.031 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.0008455/0.3895, allocations: 0.8929 MB / 0.5752 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006765/0.3902, allocations: 349.2 kB / 0.5755 GB, free: 4.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3902, allocations: 4.5 kB / 0.5755 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.3906, allocations: 281.2 kB / 0.5758 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.3912, allocations: 36.88 kB / 0.5758 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.3944, allocations: 2.33 MB / 0.5781 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.3949, allocations: 0.7246 MB / 0.5788 GB, free: 1.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.651e-05/0.3949, allocations: 13.42 kB / 0.5788 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.728e-05/0.395, allocations: 39.42 kB / 0.5788 GB, free: 1.117 MB / 414.1 MB Notification: Performance of SimCode: time 1.453e-06/0.395, allocations: 0 / 0.5788 GB, free: 1.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.4297, allocations: 3.882 MB / 0.5826 GB, free: 13.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.76, allocations: 10.47 kB / 0.5826 GB, free: 13.33 MB / 430.1 MB " [Timeout remaining time 649] (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.0.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: 13.924910704838112]