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.00119/0.00119, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001305/0.001305, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.328/1.328, allocations: 230.5 MB / 258.1 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.2102/0.2102, allocations: 46.92 MB / 361.5 MB, free: 4.191 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: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 79.88 kB / 0.4974 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2677, allocations: 66.08 MB / 0.5619 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002933/0.2706, allocations: 1.876 MB / 0.5638 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.2709, allocations: 155.4 kB / 0.5639 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.271, allocations: 4 kB / 0.5639 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.822e-05/0.271, allocations: 15.8 kB / 0.5639 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.2712, allocations: 67.42 kB / 0.564 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.2713, allocations: 35.95 kB / 0.564 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.2715, allocations: 187.1 kB / 0.5642 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.2717, allocations: 41.73 kB / 0.5643 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.2718, allocations: 71.78 kB / 0.5643 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.2719, allocations: 71.69 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.2719, allocations: 12 kB / 0.5644 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.2719, allocations: 16 kB / 0.5644 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.272, allocations: 35.86 kB / 0.5645 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.577e-05/0.272, allocations: 83.61 kB / 0.5645 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.2723, allocations: 185.7 kB / 0.5647 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2723, allocations: 0 / 0.5647 GB, free: 1.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2723, allocations: 0 / 0.5647 GB, free: 1.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2723, allocations: 3.938 kB / 0.5647 GB, free: 1.379 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.0005424/0.2728, allocations: 385.9 kB / 0.5651 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2728, allocations: 8.031 kB / 0.5651 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.2729, allocations: 20.84 kB / 0.5651 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.2731, allocations: 146.3 kB / 0.5652 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2731, allocations: 12.7 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.2731, allocations: 24.33 kB / 0.5653 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.2734, allocations: 166.2 kB / 0.5654 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2734, allocations: 4.125 kB / 0.5654 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.2734, allocations: 11.94 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2734, allocations: 4 kB / 0.5655 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.2736, allocations: 85.27 kB / 0.5655 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007801/0.2744, allocations: 0.5618 MB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.2746, allocations: 121.2 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.2747, allocations: 49.7 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.2747, allocations: 0 / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.2747, allocations: 38.56 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.2747, allocations: 0 / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006888/0.2754, allocations: 223.2 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.2754, allocations: 85.05 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2755, allocations: 128.2 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2756, allocations: 29.7 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.2756, allocations: 132.2 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.2757, allocations: 55.48 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.2758, allocations: 41.7 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2759, allocations: 326.8 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.276, allocations: 35.98 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.2761, allocations: 100.6 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.2763, allocations: 168.9 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2763, allocations: 0 / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003556/0.2766, allocations: 223 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2766, allocations: 6.031 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2766, allocations: 4 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.2768, allocations: 53.94 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.277, allocations: 35.92 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.2791, allocations: 2.787 MB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.327e-05/0.2792, allocations: 15.89 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2792, allocations: 12 kB / 0.5706 GB, free: 10.81 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.0001178/0.2794, allocations: 133.9 kB / 0.5707 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.2794, allocations: 15.84 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.2794, allocations: 20.66 kB / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2794, allocations: 0 / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2794, allocations: 4 kB / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2794, allocations: 0 / 0.5708 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.2797, allocations: 200.7 kB / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2797, allocations: 0 / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.2799, allocations: 23.98 kB / 0.571 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.28, allocations: 49.7 kB / 0.571 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.28, allocations: 11.88 kB / 0.5711 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.282, allocations: 2.78 MB / 0.5738 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.282, allocations: 4 kB / 0.5738 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.2824, allocations: 368.4 kB / 0.5741 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.2825, allocations: 23.94 kB / 0.5741 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2825, allocations: 0 / 0.5741 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.2826, allocations: 11.94 kB / 0.5742 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.2826, allocations: 7.984 kB / 0.5742 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.2826, allocations: 4.094 kB / 0.5742 GB, free: 6.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.575e-05/0.2827, allocations: 109.4 kB / 0.5743 GB, free: 6.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2827, allocations: 0 / 0.5743 GB, free: 6.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.2831, allocations: 47.95 kB / 0.5743 GB, free: 6.707 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.0001018/0.2832, allocations: 103.2 kB / 0.5744 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005249/0.2837, allocations: 341.1 kB / 0.5747 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2837, allocations: 0.5 kB / 0.5747 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.2841, allocations: 285.3 kB / 0.575 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.2845, allocations: 38.09 kB / 0.575 GB, free: 5.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2855, allocations: 0.6744 MB / 0.5757 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.2859, allocations: 0.7203 MB / 0.5764 GB, free: 4.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.2859, allocations: 19.44 kB / 0.5764 GB, free: 4.426 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2859, allocations: 0 / 0.5764 GB, free: 4.426 MB / 414.1 MB Notification: Performance of Templates: time 0.004929/0.2908, allocations: 3.163 MB / 0.5795 GB, free: 1.266 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] 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: 7.439139554044232]