Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.001444/0.001444, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001574/0.001574, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.347/1.347, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.2139/0.2139, allocations: 46.92 MB / 361.5 MB, free: 4.164 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.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 83.86 kB / 0.4974 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2689, allocations: 66.07 MB / 0.5619 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003849/0.2727, allocations: 2.388 MB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.2743, allocations: 0.9267 MB / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.2744, allocations: 4 kB / 0.5652 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.2747, allocations: 51.52 kB / 0.5652 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2749, allocations: 79.39 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.2752, allocations: 147.6 kB / 0.5654 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.2756, allocations: 355.3 kB / 0.5658 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.2758, allocations: 65.11 kB / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.276, allocations: 163.5 kB / 0.566 GB, free: 60 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.2763, allocations: 163.4 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.2763, allocations: 28 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.2765, allocations: 87.97 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2766, allocations: 75.81 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.2768, allocations: 135.3 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.2772, allocations: 389 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2772, allocations: 0 / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2772, allocations: 4 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2772, allocations: 0 / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008987/0.2781, allocations: 0.5167 MB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.2782, allocations: 8.031 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.2783, allocations: 32.8 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.2787, allocations: 202.8 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.2787, allocations: 24.81 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.2788, allocations: 20.38 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.2793, allocations: 272.3 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.2793, allocations: 3.953 kB / 0.5679 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.2793, allocations: 12 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2793, allocations: 4 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.2798, allocations: 237.8 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.2811, allocations: 0.6888 MB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.2817, allocations: 231.8 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.2819, allocations: 125.2 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.2819, allocations: 4 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.282, allocations: 38.5 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.282, allocations: 0 / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002915/0.2849, allocations: 1.204 MB / 0.5704 GB, free: 11.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.2849, allocations: 55.41 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.2852, allocations: 203.9 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.2852, allocations: 41.64 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.2853, allocations: 132.9 kB / 0.5708 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.2854, allocations: 134.9 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.2855, allocations: 61.69 kB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2857, allocations: 338.8 kB / 0.5713 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.2859, allocations: 116 kB / 0.5714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.2862, allocations: 164.4 kB / 0.5716 GB, free: 10.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.2866, allocations: 243.9 kB / 0.5718 GB, free: 9.879 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2866, allocations: 0 / 0.5718 GB, free: 9.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008341/0.2875, allocations: 418 kB / 0.5722 GB, free: 9.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.2875, allocations: 12.06 kB / 0.5722 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2875, allocations: 3.938 kB / 0.5722 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/0.288, allocations: 192.7 kB / 0.5724 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.2882, allocations: 55.91 kB / 0.5724 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008259/0.289, allocations: 0.7349 MB / 0.5732 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.2893, allocations: 35.95 kB / 0.5732 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.2893, allocations: 15.98 kB / 0.5732 GB, free: 8.391 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.000193/0.2895, allocations: 139.1 kB / 0.5733 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.2896, allocations: 23.86 kB / 0.5734 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.805e-05/0.2897, allocations: 38.64 kB / 0.5734 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.2897, allocations: 8.062 kB / 0.5734 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2897, allocations: 3.938 kB / 0.5734 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2897, allocations: 0 / 0.5734 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.2913, allocations: 0.9042 MB / 0.5743 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2913, allocations: 4.031 kB / 0.5743 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.2916, allocations: 55.91 kB / 0.5743 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003673/0.2919, allocations: 176.6 kB / 0.5745 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.292, allocations: 7.984 kB / 0.5745 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006654/0.2926, allocations: 0.6928 MB / 0.5752 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2926, allocations: 7.969 kB / 0.5752 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.2937, allocations: 0.5958 MB / 0.5758 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.2938, allocations: 63.86 kB / 0.5758 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.2939, allocations: 8 kB / 0.5759 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.2941, allocations: 35.95 kB / 0.5759 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.2943, allocations: 47.91 kB / 0.5759 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.2943, allocations: 15.98 kB / 0.576 GB, free: 5.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.2944, allocations: 152.2 kB / 0.5761 GB, free: 5.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2944, allocations: 0 / 0.5761 GB, free: 5.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.2948, allocations: 72 kB / 0.5762 GB, free: 5.238 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/0.296, allocations: 373.9 kB / 0.5765 GB, free: 4.984 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.2967, allocations: 295.7 kB / 0.5768 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2967, allocations: 0 / 0.5768 GB, free: 4.695 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.297, allocations: 147.8 kB / 0.5769 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.2974, allocations: 39.78 kB / 0.577 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.2993, allocations: 0.7985 MB / 0.5778 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.2997, allocations: 0.7603 MB / 0.5785 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.439e-05/0.2998, allocations: 31.42 kB / 0.5785 GB, free: 2.855 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2998, allocations: 0 / 0.5785 GB, free: 2.855 MB / 414.1 MB Notification: Performance of Templates: time 0.007089/0.3069, allocations: 4.518 MB / 0.5829 GB, free: 14.34 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.5063260209281]