Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001636/0.001636, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001501/0.001501, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.408/1.408, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.89 kB / 377.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2679, allocations: 53.4 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004097/0.272, allocations: 1.906 MB / 433 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.2745, allocations: 1.168 MB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.2747, allocations: 7.938 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008214/0.2755, allocations: 151.5 kB / 434.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006035/0.2761, allocations: 167.3 kB / 434.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.277, allocations: 174.7 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.2775, allocations: 195.4 kB / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.2777, allocations: 25.8 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.2779, allocations: 79.69 kB / 435 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.2781, allocations: 79.56 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.2782, allocations: 16 kB / 435.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.2784, allocations: 59.95 kB / 435.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.419e-05/0.2785, allocations: 47.83 kB / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.184e-05/0.2786, allocations: 55.59 kB / 435.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.279, allocations: 227.4 kB / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.279, allocations: 0 / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.279, allocations: 0 / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.279, allocations: 0 / 435.5 MB, free: 2.117 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000936/0.28, allocations: 458.6 kB / 435.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.28, allocations: 11.98 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.613e-05/0.2801, allocations: 50.67 kB / 436 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.2802, allocations: 20.8 kB / 436 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.2807, allocations: 209.2 kB / 436.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2807, allocations: 4.375 kB / 436.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.2807, allocations: 12.36 kB / 436.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.2812, allocations: 154.8 kB / 436.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2812, allocations: 4 kB / 436.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.2812, allocations: 11.98 kB / 436.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2812, allocations: 0 / 436.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.2814, allocations: 35.92 kB / 436.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007641/0.2821, allocations: 409.7 kB / 436.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.2824, allocations: 134.5 kB / 436.9 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2825, allocations: 59.42 kB / 437 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.2825, allocations: 4 kB / 437 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.2827, allocations: 93.03 kB / 437.1 MB, free: 276 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.2827, allocations: 0 / 437.1 MB, free: 276 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004157/0.2832, allocations: 161.4 kB / 437.3 MB, free: 108 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.2833, allocations: 136.5 kB / 437.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.2836, allocations: 277 kB / 437.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2836, allocations: 30.08 kB / 437.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.2837, allocations: 128.4 kB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.2837, allocations: 19.84 kB / 437.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.2838, allocations: 33.66 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2839, allocations: 334.8 kB / 438.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.284, allocations: 23.98 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.2841, allocations: 99.69 kB / 438.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2843, allocations: 101.2 kB / 438.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2843, allocations: 4 kB / 438.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002367/0.2845, allocations: 129.5 kB / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2845, allocations: 6.656 kB / 438.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2845, allocations: 0 / 438.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2846, allocations: 4 kB / 438.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.2846, allocations: 15.98 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2846, allocations: 160 / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.2847, allocations: 19.89 kB / 438.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2847, allocations: 4 kB / 438.6 MB, free: 14.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001394/0.2849, allocations: 150.6 kB / 438.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.285, allocations: 73.48 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.2852, allocations: 119.4 kB / 438.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.2852, allocations: 4 kB / 438.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2852, allocations: 0 / 438.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2852, allocations: 3.984 kB / 438.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.2855, allocations: 196.7 kB / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2855, allocations: 0 / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.2855, allocations: 7.938 kB / 439.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2855, allocations: 4 kB / 439.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2855, allocations: 3.984 kB / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2855, allocations: 4.078 kB / 439.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2855, allocations: 3.984 kB / 439.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.2858, allocations: 187.4 kB / 439.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.92e-05/0.2859, allocations: 35.78 kB / 439.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.2859, allocations: 4 kB / 439.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.567e-05/0.286, allocations: 19.92 kB / 439.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.286, allocations: 4 kB / 439.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.2861, allocations: 16.05 kB / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.2863, allocations: 208.4 kB / 439.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2863, allocations: 0 / 439.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.2865, allocations: 28 kB / 439.6 MB, free: 13.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0021/0.2886, allocations: 1.041 MB / 440.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.2889, allocations: 79.89 kB / 440.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2889, allocations: 4 kB / 440.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.289, allocations: 27.92 kB / 440.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.2894, allocations: 77.03 kB / 440.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2919, allocations: 2.049 MB / 442.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.2921, allocations: 123.6 kB / 443 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.972e-05/0.2922, allocations: 21.62 kB / 443.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2923, allocations: 59.41 kB / 443.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2923, allocations: 0 / 443.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.3252, allocations: 5.551 MB / 448.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.31, allocations: 2.812 kB / 448.7 MB, free: 4.488 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98963e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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: 13.740050110034645]