Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.009058/0.009058, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.002586/0.002586, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.53/1.53, allocations: 230.5 MB / 258.9 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2234/0.2234, allocations: 46.93 MB / 362.3 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Blocks.Limiters") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 83.84 kB / 0.4982 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3503, allocations: 66.07 MB / 0.5627 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003077/0.3534, allocations: 1.712 MB / 0.5644 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3547, allocations: 0.6673 MB / 0.565 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.77e-05/0.3548, allocations: 3.938 kB / 0.565 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.3548, allocations: 11.86 kB / 0.5651 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.3549, allocations: 27.75 kB / 0.5651 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.3554, allocations: 151.6 kB / 0.5652 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.3557, allocations: 151.7 kB / 0.5654 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3558, allocations: 31.75 kB / 0.5654 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.356, allocations: 83.75 kB / 0.5655 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3561, allocations: 67.62 kB / 0.5655 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.3561, allocations: 16 kB / 0.5656 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.3562, allocations: 19.98 kB / 0.5656 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.3562, allocations: 31.92 kB / 0.5656 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.3563, allocations: 59.7 kB / 0.5657 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.3565, allocations: 143.1 kB / 0.5658 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3565, allocations: 0 / 0.5658 GB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3565, allocations: 0 / 0.5658 GB, free: 1.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.3565, allocations: 0 / 0.5658 GB, free: 1.082 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.0007056/0.3573, allocations: 381.7 kB / 0.5662 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3573, allocations: 15.97 kB / 0.5662 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.3575, allocations: 28.83 kB / 0.5662 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3578, allocations: 158.3 kB / 0.5664 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3578, allocations: 4.375 kB / 0.5664 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.3579, allocations: 12.38 kB / 0.5664 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.3583, allocations: 182.8 kB / 0.5666 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3583, allocations: 0 / 0.5666 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3583, allocations: 0 / 0.5666 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.3583, allocations: 7.938 kB / 0.5666 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.3587, allocations: 119.9 kB / 0.5667 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/0.3596, allocations: 427.4 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.3602, allocations: 190.5 kB / 0.5673 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.3604, allocations: 68.8 kB / 0.5673 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.3604, allocations: 8.141 kB / 0.5673 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.3604, allocations: 34.56 kB / 0.5674 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.3604, allocations: 3.938 kB / 0.5674 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001396/0.3618, allocations: 0.4889 MB / 0.5678 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.3619, allocations: 114.7 kB / 0.568 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3621, allocations: 155.3 kB / 0.5681 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.3621, allocations: 29.7 kB / 0.5681 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.083e-05/0.3622, allocations: 108.1 kB / 0.5682 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.3622, allocations: 31.7 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.3623, allocations: 29.7 kB / 0.5683 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3624, allocations: 318.8 kB / 0.5686 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.3627, allocations: 80.83 kB / 0.5687 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.3629, allocations: 98.44 kB / 0.5688 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.3633, allocations: 136.8 kB / 0.5689 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3633, allocations: 0 / 0.5689 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004659/0.3637, allocations: 189.5 kB / 0.5691 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3638, allocations: 7.938 kB / 0.5691 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3638, allocations: 4 kB / 0.5691 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3638, allocations: 4 kB / 0.5691 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.364, allocations: 35.91 kB / 0.5691 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.364, allocations: 0 / 0.5691 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.3641, allocations: 27.91 kB / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3641, allocations: 0 / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001594/0.3643, allocations: 128.1 kB / 0.5693 GB, free: 13.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001193/0.3644, allocations: 50.55 kB / 0.5693 GB, free: 13.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001795/0.3646, allocations: 81.22 kB / 0.5694 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-06/0.3646, allocations: 0.5469 kB / 0.5694 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002546/0.3648, allocations: 125.5 kB / 0.5695 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/0.3648, allocations: 4 kB / 0.5695 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.3648, allocations: 0 / 0.5695 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-06/0.3648, allocations: 0 / 0.5695 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.3649, allocations: 31.91 kB / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3649, allocations: 11.92 kB / 0.5696 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.365, allocations: 15.98 kB / 0.5696 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.365, allocations: 0 / 0.5696 GB, free: 12.93 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.0001437/0.3652, allocations: 189.1 kB / 0.5698 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.3652, allocations: 15.91 kB / 0.5698 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.3653, allocations: 9.406 kB / 0.5698 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3653, allocations: 7.938 kB / 0.5698 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3653, allocations: 3.984 kB / 0.5698 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3653, allocations: 0 / 0.5698 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000927/0.3662, allocations: 494.2 kB / 0.5703 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3662, allocations: 3.938 kB / 0.5703 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.3664, allocations: 35.95 kB / 0.5703 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3664, allocations: 0 / 0.5703 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3664, allocations: 11.97 kB / 0.5703 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3664, allocations: 0 / 0.5703 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3664, allocations: 0 / 0.5703 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007513/0.3671, allocations: 356.1 kB / 0.5707 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.3672, allocations: 20.09 kB / 0.5707 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.3672, allocations: 0 / 0.5707 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.3675, allocations: 47.89 kB / 0.5707 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.3675, allocations: 11.98 kB / 0.5707 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3675, allocations: 4 kB / 0.5707 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.3676, allocations: 117.6 kB / 0.5709 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3676, allocations: 4 kB / 0.5709 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.3679, allocations: 32 kB / 0.5709 GB, free: 11.51 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 0.0001194/0.3681, allocations: 95.25 kB / 0.571 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005971/0.3687, allocations: 195.7 kB / 0.5712 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3687, allocations: 0 / 0.5712 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.3689, allocations: 79.92 kB / 0.5712 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.3693, allocations: 38.92 kB / 0.5713 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.37, allocations: 322.5 kB / 0.5716 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.3703, allocations: 0.7046 MB / 0.5723 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.3704, allocations: 15.44 kB / 0.5723 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3704, allocations: 0 / 0.5723 GB, free: 10.02 MB / 414.1 MB Notification: Performance of Templates: time 0.003991/0.3744, allocations: 1.86 MB / 0.5741 GB, free: 8.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.741863976931199]