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.001864/0.001864, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002257/0.002257, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.526/1.526, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2286/0.2286, allocations: 46.91 MB / 361.6 MB, free: 4.203 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 71.89 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.353, allocations: 66.09 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003376/0.3564, allocations: 1.856 MB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003727/0.3567, allocations: 163.3 kB / 0.5635 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.3568, allocations: 0 / 0.5635 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.492e-05/0.3569, allocations: 27.72 kB / 0.5635 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.357, allocations: 47.56 kB / 0.5635 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.3572, allocations: 35.95 kB / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.3574, allocations: 187.1 kB / 0.5637 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.3576, allocations: 45.7 kB / 0.5638 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3577, allocations: 63.8 kB / 0.5639 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3578, allocations: 79.64 kB / 0.5639 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.3578, allocations: 16 kB / 0.5639 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.047e-05/0.3579, allocations: 12 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.3579, allocations: 39.89 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.358, allocations: 79.61 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.3583, allocations: 189.2 kB / 0.5642 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3583, allocations: 3.938 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3583, allocations: 0 / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3583, allocations: 0 / 0.5643 GB, free: 1.469 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.0006513/0.3589, allocations: 381.9 kB / 0.5646 GB, free: 1.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.359, allocations: 8.031 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.065e-05/0.359, allocations: 8.516 kB / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.3591, allocations: 50.67 kB / 0.5647 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.3591, allocations: 24.83 kB / 0.5647 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.3593, allocations: 146.3 kB / 0.5648 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3593, allocations: 8.703 kB / 0.5649 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.3594, allocations: 24.31 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.3597, allocations: 173.9 kB / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3597, allocations: 0 / 0.565 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.3597, allocations: 11.98 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3597, allocations: 4 kB / 0.5651 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.3599, allocations: 85.27 kB / 0.5651 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.3608, allocations: 0.554 MB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.361, allocations: 129.1 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.388e-05/0.3611, allocations: 49.7 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3611, allocations: 0 / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3611, allocations: 34.56 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.3611, allocations: 4.188 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000748/0.3619, allocations: 227 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.3619, allocations: 81.11 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.3621, allocations: 128.6 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3621, allocations: 29.7 kB / 0.5663 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.3622, allocations: 136.2 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.3622, allocations: 55.48 kB / 0.5665 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.3623, allocations: 41.7 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3624, allocations: 323.2 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-05/0.3625, allocations: 39.98 kB / 0.5669 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3626, allocations: 96.58 kB / 0.567 GB, free: 14.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.3628, allocations: 168.5 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3628, allocations: 0 / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003722/0.3632, allocations: 227 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3632, allocations: 4 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3632, allocations: 4 kB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.3634, allocations: 49.95 kB / 0.5674 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.3636, allocations: 43.84 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.3659, allocations: 2.783 MB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.366, allocations: 11.89 kB / 0.5702 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.366, allocations: 12 kB / 0.5702 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.0001299/0.3662, allocations: 129.8 kB / 0.5703 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.3662, allocations: 15.84 kB / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.3663, allocations: 24.77 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3663, allocations: 0 / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3663, allocations: 4 kB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3663, allocations: 0 / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.3666, allocations: 204.6 kB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3666, allocations: 3.984 kB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.3667, allocations: 20 kB / 0.5706 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.3669, allocations: 53.56 kB / 0.5706 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3669, allocations: 8 kB / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.3692, allocations: 2.776 MB / 0.5734 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3692, allocations: 4.031 kB / 0.5734 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.3697, allocations: 368.4 kB / 0.5737 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.3697, allocations: 11.98 kB / 0.5737 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3697, allocations: 8 kB / 0.5737 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.3698, allocations: 20.11 kB / 0.5738 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.3699, allocations: 7.984 kB / 0.5738 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.3699, allocations: 0 / 0.5738 GB, free: 6.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.37, allocations: 103.3 kB / 0.5739 GB, free: 6.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.37, allocations: 0 / 0.5739 GB, free: 6.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.3704, allocations: 55.89 kB / 0.5739 GB, free: 6.727 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.0008241/0.3712, allocations: 0.9026 MB / 0.5748 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006072/0.3719, allocations: 341.5 kB / 0.5751 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3719, allocations: 4 kB / 0.5751 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.3722, allocations: 285.2 kB / 0.5754 GB, free: 5.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.3728, allocations: 26.02 kB / 0.5754 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.3756, allocations: 2.342 MB / 0.5777 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.376, allocations: 0.7281 MB / 0.5784 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.3761, allocations: 9.422 kB / 0.5784 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.3762, allocations: 43.42 kB / 0.5785 GB, free: 1.805 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3762, allocations: 0 / 0.5785 GB, free: 1.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.4056, allocations: 3.969 MB / 0.5823 GB, free: 13.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.73, allocations: 4.062 kB / 0.5824 GB, free: 13.96 MB / 430.1 MB " [Timeout remaining time 647] (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.961119033046998]