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.001727/0.001727, allocations: 114 kB / 20.43 MB, free: 1.457 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.002172/0.002172, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.527/1.527, allocations: 230.5 MB / 257.4 MB, free: 8 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.2553/0.2553, allocations: 46.92 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.002477/0.002477, allocations: 80.16 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3599, allocations: 66.08 MB / 0.5607 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003374/0.3633, allocations: 1.871 MB / 0.5625 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004176/0.3637, allocations: 151.5 kB / 0.5627 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.3638, allocations: 4 kB / 0.5627 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.657e-05/0.3639, allocations: 27.67 kB / 0.5627 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.364, allocations: 47.56 kB / 0.5628 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.3642, allocations: 43.94 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.3644, allocations: 187.1 kB / 0.563 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.3646, allocations: 41.72 kB / 0.563 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3647, allocations: 75.72 kB / 0.5631 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.3649, allocations: 67.7 kB / 0.5632 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.3649, allocations: 16 kB / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.045e-05/0.3649, allocations: 15.94 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.365, allocations: 31.91 kB / 0.5632 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.3651, allocations: 87.61 kB / 0.5633 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.3653, allocations: 185 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3653, allocations: 4 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3653, allocations: 4 kB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3653, allocations: 0 / 0.5635 GB, free: 1.457 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.000647/0.366, allocations: 378 kB / 0.5639 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.366, allocations: 12.03 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/0.3661, allocations: 46.73 kB / 0.5639 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.3661, allocations: 16.84 kB / 0.5639 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.3664, allocations: 154.2 kB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3664, allocations: 12.7 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.3664, allocations: 28.33 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.3667, allocations: 162.1 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3667, allocations: 11.94 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.3668, allocations: 4 kB / 0.5643 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3668, allocations: 4 kB / 0.5643 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.367, allocations: 85.27 kB / 0.5644 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.368, allocations: 0.558 MB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.3682, allocations: 121.2 kB / 0.565 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.3683, allocations: 45.7 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3683, allocations: 4 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3684, allocations: 42.67 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.3684, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007867/0.3691, allocations: 223.1 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.3692, allocations: 77.48 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3693, allocations: 130.1 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3694, allocations: 29.7 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.3695, allocations: 132.2 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.3695, allocations: 63.42 kB / 0.5657 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.3696, allocations: 41.7 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3697, allocations: 326.8 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.3698, allocations: 35.98 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.3699, allocations: 104.5 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.3701, allocations: 160.6 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3701, allocations: 4 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003897/0.3705, allocations: 215 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3705, allocations: 10.34 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3706, allocations: 7.984 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/0.3708, allocations: 57.88 kB / 0.5667 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.3709, allocations: 31.98 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.3735, allocations: 2.783 MB / 0.5694 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3736, allocations: 15.89 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.3736, allocations: 11.92 kB / 0.5694 GB, free: 10.83 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.0001602/0.3737, allocations: 141.9 kB / 0.5696 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.3738, allocations: 11.91 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.3738, allocations: 20.66 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3738, allocations: 0 / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3738, allocations: 0 / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3739, allocations: 4 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.3742, allocations: 200.6 kB / 0.5698 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3742, allocations: 0 / 0.5698 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.3743, allocations: 35.92 kB / 0.5698 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.3745, allocations: 45.7 kB / 0.5699 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.3745, allocations: 12.02 kB / 0.5699 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.3769, allocations: 2.772 MB / 0.5726 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3769, allocations: 0 / 0.5726 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.3774, allocations: 379.7 kB / 0.573 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.3774, allocations: 15.98 kB / 0.573 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3774, allocations: 128 / 0.573 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3775, allocations: 12 kB / 0.573 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.3775, allocations: 7.984 kB / 0.573 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.3776, allocations: 11.98 kB / 0.573 GB, free: 6.875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.282e-05/0.3776, allocations: 97.66 kB / 0.5731 GB, free: 6.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3776, allocations: 0 / 0.5731 GB, free: 6.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000492/0.3781, allocations: 59.89 kB / 0.5732 GB, free: 6.723 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.00081/0.3789, allocations: 0.8955 MB / 0.574 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000653/0.3796, allocations: 345.3 kB / 0.5744 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3796, allocations: 0 / 0.5744 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.3799, allocations: 281.2 kB / 0.5746 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005442/0.3805, allocations: 36.47 kB / 0.5747 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.3836, allocations: 2.339 MB / 0.5769 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.3839, allocations: 0.7203 MB / 0.5776 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.384, allocations: 9.438 kB / 0.5777 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.3841, allocations: 43.42 kB / 0.5777 GB, free: 1.805 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3841, allocations: 0 / 0.5777 GB, free: 1.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03867/0.4227, allocations: 3.944 MB / 0.5815 GB, free: 13.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.3, allocations: 4.062 kB / 0.5816 GB, free: 13.98 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.41037926916033]