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.001835/0.001835, allocations: 114 kB / 20.43 MB, free: 1.457 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.002267/0.002267, allocations: 214.2 kB / 23.74 MB, free: 4.672 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.2469/0.2469, allocations: 46.93 MB / 360.8 MB, free: 4.145 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.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 79.86 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3182, allocations: 66.09 MB / 0.5607 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003352/0.3216, allocations: 1.694 MB / 0.5624 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3232, allocations: 0.6712 MB / 0.563 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.3234, allocations: 7.938 kB / 0.563 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.554e-05/0.3234, allocations: 11.86 kB / 0.5631 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.3236, allocations: 19.69 kB / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.3241, allocations: 155.7 kB / 0.5632 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.3244, allocations: 155.7 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.3246, allocations: 34.91 kB / 0.5634 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.3248, allocations: 71.77 kB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3249, allocations: 71.67 kB / 0.5635 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.325, allocations: 12 kB / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.749e-05/0.325, allocations: 16 kB / 0.5636 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.3251, allocations: 31.91 kB / 0.5636 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.3251, allocations: 63.7 kB / 0.5637 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.3254, allocations: 139.4 kB / 0.5638 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3254, allocations: 0 / 0.5638 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3254, allocations: 4 kB / 0.5638 GB, free: 1.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3254, allocations: 0 / 0.5638 GB, free: 1.102 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.0007395/0.3261, allocations: 385.7 kB / 0.5642 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/0.3262, allocations: 15.97 kB / 0.5642 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.3263, allocations: 34.75 kB / 0.5642 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.3264, allocations: 28.83 kB / 0.5642 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3268, allocations: 170.3 kB / 0.5644 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3268, allocations: 384 / 0.5644 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.3269, allocations: 12.38 kB / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.3273, allocations: 176.3 kB / 0.5646 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3273, allocations: 0 / 0.5646 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3274, allocations: 4 kB / 0.5646 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3274, allocations: 7.938 kB / 0.5646 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.3278, allocations: 122.4 kB / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.3288, allocations: 427.4 kB / 0.5651 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/0.3294, allocations: 186.5 kB / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.3297, allocations: 72.95 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.3297, allocations: 7.984 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.3297, allocations: 34.56 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 2.936e-06/0.3297, allocations: 3.938 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.002129/0.3319, allocations: 0.4967 MB / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.332, allocations: 106.8 kB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.3322, allocations: 155.4 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.3323, allocations: 29.64 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3324, allocations: 108.1 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.3324, allocations: 31.7 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.646e-05/0.3325, allocations: 33.7 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.3328, allocations: 322.8 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.3331, allocations: 72.73 kB / 0.5667 GB, free: 13.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.3335, allocations: 98.5 kB / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/0.3342, allocations: 132.8 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3342, allocations: 4.031 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007779/0.3349, allocations: 189.4 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.335, allocations: 4 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.335, allocations: 4 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.335, allocations: 3.938 kB / 0.5671 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.3353, allocations: 35.97 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3353, allocations: 0 / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.3355, allocations: 31.91 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.3355, allocations: 0 / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002578/0.3358, allocations: 125.4 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000193/0.336, allocations: 62.77 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002896/0.3363, allocations: 72.81 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.3363, allocations: 4 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0004336/0.3367, allocations: 118 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3367, allocations: 8.016 kB / 0.5676 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.3367, allocations: 4 kB / 0.5676 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/0.3367, allocations: 0 / 0.5676 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3369, allocations: 27.92 kB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3369, allocations: 3.938 kB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.3371, allocations: 15.98 kB / 0.5676 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3371, allocations: 0 / 0.5676 GB, free: 12.9 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.000189/0.3373, allocations: 184.3 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.3373, allocations: 19.91 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.555e-05/0.3374, allocations: 17.39 kB / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3374, allocations: 3.938 kB / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3374, allocations: 0 / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3374, allocations: 0 / 0.5678 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.339, allocations: 498.1 kB / 0.5683 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.339, allocations: 0 / 0.5683 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.3392, allocations: 35.95 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.3392, allocations: 4 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.3393, allocations: 11.94 kB / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3393, allocations: 0 / 0.5684 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3393, allocations: 4.031 kB / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.3405, allocations: 368.2 kB / 0.5687 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.3405, allocations: 7.984 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.3406, allocations: 11.94 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.3408, allocations: 36.02 kB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.3409, allocations: 7.984 kB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.3409, allocations: 8 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.341, allocations: 120.9 kB / 0.5689 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.341, allocations: 0 / 0.5689 GB, free: 11.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.3414, allocations: 32 kB / 0.5689 GB, free: 11.48 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.001238/0.3427, allocations: 0.8927 MB / 0.5698 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.3433, allocations: 191.7 kB / 0.57 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3433, allocations: 64 / 0.57 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.3436, allocations: 75.94 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.3441, allocations: 33.75 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.3475, allocations: 1.946 MB / 0.572 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.348, allocations: 0.7046 MB / 0.5727 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.3481, allocations: 20.97 kB / 0.5727 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3482, allocations: 39.42 kB / 0.5727 GB, free: 7.445 MB / 414.1 MB Notification: Performance of SimCode: time 1.512e-06/0.3482, allocations: 0 / 0.5727 GB, free: 7.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.3829, allocations: 4.039 MB / 0.5767 GB, free: 3.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.72, allocations: 6.812 kB / 0.5767 GB, free: 3.508 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219036 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_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: 14.682012110948563]