Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 218.7 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2691/0.2691, allocations: 46.96 MB / 361.7 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ZeroThresholds,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ZeroThresholds",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ZeroThresholds,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_ZeroThresholds",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4001, allocations: 66.03 MB / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003335/0.4035, allocations: 1.707 MB / 0.563 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004577/0.4039, allocations: 151.6 kB / 0.5632 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.565e-05/0.404, allocations: 7.938 kB / 0.5632 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/0.4041, allocations: 7.875 kB / 0.5632 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.4041, allocations: 7.875 kB / 0.5632 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.4045, allocations: 107.5 kB / 0.5633 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.4047, allocations: 111.8 kB / 0.5634 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.4049, allocations: 23.41 kB / 0.5634 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.405, allocations: 47.84 kB / 0.5635 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.4051, allocations: 43.78 kB / 0.5635 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.4051, allocations: 8 kB / 0.5635 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.196e-05/0.4051, allocations: 8 kB / 0.5635 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.4051, allocations: 23.91 kB / 0.5635 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.4052, allocations: 35.8 kB / 0.5636 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.4054, allocations: 87.62 kB / 0.5637 GB, free: 1.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4054, allocations: 4 kB / 0.5637 GB, free: 1.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4054, allocations: 4 kB / 0.5637 GB, free: 1.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.4054, allocations: 0 / 0.5637 GB, free: 1.875 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008124/0.4062, allocations: 369.8 kB / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.4063, allocations: 12.03 kB / 0.564 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.54e-05/0.4063, allocations: 192 / 0.564 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.4063, allocations: 42.73 kB / 0.5641 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.4064, allocations: 12.84 kB / 0.5641 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.4068, allocations: 150.4 kB / 0.5642 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4068, allocations: 384 / 0.5642 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.4068, allocations: 12.38 kB / 0.5642 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.4073, allocations: 208.2 kB / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4074, allocations: 0 / 0.5644 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.4074, allocations: 4 kB / 0.5644 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.4074, allocations: 4 kB / 0.5644 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.4078, allocations: 111.8 kB / 0.5645 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/0.4087, allocations: 0.4922 MB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.4091, allocations: 138.5 kB / 0.5652 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.4093, allocations: 52.84 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.4093, allocations: 0 / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/0.4094, allocations: 38.5 kB / 0.5652 GB, free: 84 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.4094, allocations: 0 / 0.5652 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007186/0.4101, allocations: 193.4 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.4102, allocations: 106.8 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4104, allocations: 141 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.4104, allocations: 25.7 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.4105, allocations: 120.1 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.4106, allocations: 19.84 kB / 0.5658 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.4106, allocations: 29.7 kB / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4108, allocations: 318.8 kB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.411, allocations: 51.94 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.4113, allocations: 135.6 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.4116, allocations: 110.6 kB / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4116, allocations: 0 / 0.5664 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004238/0.412, allocations: 161.5 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4121, allocations: 4 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4121, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4121, allocations: 4 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.4122, allocations: 27.91 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.4123, allocations: 4.328 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.4124, allocations: 35.92 kB / 0.5667 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4124, allocations: 4 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (lessEqualThreshold.y,lessThreshold.y,greaterEqualThreshold.y,greaterThreshold.y) * 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.0002318/0.4127, allocations: 121.8 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.4127, allocations: 11.94 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.4127, allocations: 12.7 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4127, allocations: 4 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4128, allocations: 3.938 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4128, allocations: 4 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.413, allocations: 160.7 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.413, allocations: 4 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4131, allocations: 23.92 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4131, allocations: 3.984 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4131, allocations: 8 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4131, allocations: 0 / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4131, allocations: 3.938 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.4136, allocations: 247.5 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.4136, allocations: 3.953 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.4136, allocations: 7.938 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.4138, allocations: 23.97 kB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.4139, allocations: 15.86 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4139, allocations: 8 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.414, allocations: 99.25 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.414, allocations: 0 / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.4142, allocations: 23.94 kB / 0.5674 GB, free: 13.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009252/0.4151, allocations: 0.767 MB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004194/0.4156, allocations: 120 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4156, allocations: 0 / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.4158, allocations: 59.94 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.4161, allocations: 19.12 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.4188, allocations: 1.665 MB / 0.57 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.736e-05/0.4189, allocations: 85.84 kB / 0.5701 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.151e-05/0.419, allocations: 12.61 kB / 0.5701 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.419, allocations: 27.42 kB / 0.5701 GB, free: 10.78 MB / 414.1 MB Notification: Performance of SimCode: time 1.412e-06/0.419, allocations: 0 / 0.5701 GB, free: 10.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.4426, allocations: 3.047 MB / 0.5731 GB, free: 7.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.77, allocations: 4.062 kB / 0.5731 GB, free: 7.883 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_ZeroThresholds_fmu --startTime=0 --stopTime=1 --stepSize=0.00019988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_ZeroThresholds.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.898985233041458] Failed to read output from testmodel.py, exit status != 0: ['time', 'ramp.y', 'greaterThreshold.y', 'greaterEqualThreshold.y', 'lessThreshold.y', 'lessEqualThreshold.y'] 11.93092955602333 11.947553438 11.538644327 Calling exit ...