Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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.001175/0.001175, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001221/0.001221, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.317/1.317, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 179] 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.2081/0.2081, allocations: 46.89 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: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 79.86 kB / 0.497 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2645, allocations: 66.03 MB / 0.5615 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002675/0.2672, allocations: 1.706 MB / 0.5632 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2683, allocations: 0.6634 MB / 0.5638 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.2683, allocations: 7.875 kB / 0.5639 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.2684, allocations: 15.86 kB / 0.5639 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.2685, allocations: 23.73 kB / 0.5639 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.2689, allocations: 151.1 kB / 0.564 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.2691, allocations: 155.7 kB / 0.5642 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2692, allocations: 31.75 kB / 0.5642 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.2693, allocations: 79.75 kB / 0.5643 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2694, allocations: 63.7 kB / 0.5643 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.2695, allocations: 12 kB / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.136e-05/0.2695, allocations: 19.98 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.2696, allocations: 39.84 kB / 0.5644 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.2696, allocations: 63.66 kB / 0.5645 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.2698, allocations: 131.2 kB / 0.5646 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2698, allocations: 0 / 0.5646 GB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2698, allocations: 0 / 0.5646 GB, free: 1.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2698, allocations: 0 / 0.5646 GB, free: 1.453 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006359/0.2705, allocations: 397.5 kB / 0.565 GB, free: 1.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.2705, allocations: 12.03 kB / 0.565 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.2706, allocations: 28.83 kB / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.2709, allocations: 154.3 kB / 0.5652 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2709, allocations: 4.375 kB / 0.5652 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.2709, allocations: 8.375 kB / 0.5652 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.2713, allocations: 186.4 kB / 0.5654 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2714, allocations: 0 / 0.5654 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2714, allocations: 4 kB / 0.5654 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2714, allocations: 4 kB / 0.5654 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.2718, allocations: 119.9 kB / 0.5655 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.2726, allocations: 427.4 kB / 0.5659 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.2732, allocations: 190.4 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.2734, allocations: 72.8 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.2734, allocations: 7.938 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2735, allocations: 30.56 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2735, allocations: 0 / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001399/0.2749, allocations: 0.4973 MB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.2749, allocations: 110.7 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.2751, allocations: 163.2 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.2751, allocations: 25.7 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.2752, allocations: 112.1 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.2752, allocations: 31.7 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.2752, allocations: 29.7 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2754, allocations: 318.8 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.2756, allocations: 72.8 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.2758, allocations: 94.5 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.2763, allocations: 140.7 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2763, allocations: 3.938 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005087/0.2768, allocations: 189.7 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.2768, allocations: 8 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2768, allocations: 80 / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2768, allocations: 4 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.277, allocations: 43.84 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.277, allocations: 3.984 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.2771, allocations: 23.97 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2771, allocations: 4 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001581/0.2773, allocations: 125.4 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000118/0.2774, allocations: 58.55 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001835/0.2776, allocations: 72.75 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.62e-07/0.2776, allocations: 0 / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002555/0.2779, allocations: 129.5 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/0.2779, allocations: 4 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-06/0.2779, allocations: 0 / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-06/0.2779, allocations: 0 / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.278, allocations: 27.97 kB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.278, allocations: 3.938 kB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.2781, allocations: 11.98 kB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.2781, allocations: 0 / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.2782, allocations: 188.6 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.2782, allocations: 15.91 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.2783, allocations: 17.41 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2783, allocations: 3.938 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2783, allocations: 3.938 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2783, allocations: 3.984 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008634/0.2791, allocations: 486.2 kB / 0.5691 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2791, allocations: 7.875 kB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.2793, allocations: 35.95 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2793, allocations: 3.984 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.2793, allocations: 8.031 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2793, allocations: 0 / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2793, allocations: 0 / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.2801, allocations: 360.1 kB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.2801, allocations: 19.84 kB / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.2802, allocations: 0 / 0.5695 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.2804, allocations: 44.02 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.2805, allocations: 7.984 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2805, allocations: 4 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.96e-05/0.2806, allocations: 120.9 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2806, allocations: 0 / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.2809, allocations: 36 kB / 0.5697 GB, free: 11.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.273e-05/0.281, allocations: 99.19 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.2816, allocations: 187.8 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2816, allocations: 0 / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.2818, allocations: 79.88 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2821, allocations: 34.5 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.2827, allocations: 296.8 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.283, allocations: 0.7007 MB / 0.571 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.405e-05/0.2831, allocations: 24.91 kB / 0.5711 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.2832, allocations: 19.44 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2832, allocations: 4 kB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Templates: time 0.005116/0.2883, allocations: 2.335 MB / 0.5734 GB, free: 8.066 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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: 4.499212183058262]