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.001353/0.001353, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001446/0.001446, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 8 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.001898/0.001898, allocations: 67.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.271, allocations: 53.41 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003408/0.2744, allocations: 1.952 MB / 433.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.2766, allocations: 1.25 MB / 434.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.2767, allocations: 7.875 kB / 434.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.2773, allocations: 147.5 kB / 434.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004026/0.2777, allocations: 167.3 kB / 434.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.2782, allocations: 179 kB / 434.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.2784, allocations: 191.5 kB / 435.1 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2785, allocations: 29.78 kB / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2787, allocations: 83.62 kB / 435.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.2788, allocations: 79.62 kB / 435.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.2788, allocations: 8 kB / 435.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.279, allocations: 71.88 kB / 435.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.279, allocations: 43.84 kB / 435.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.553e-05/0.2791, allocations: 79.47 kB / 435.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.2794, allocations: 215.5 kB / 435.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2794, allocations: 4 kB / 435.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2794, allocations: 3.938 kB / 435.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.2794, allocations: 0 / 435.7 MB, free: 2.207 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.0007216/0.2802, allocations: 454.7 kB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2802, allocations: 12.03 kB / 436.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.2802, allocations: 38.73 kB / 436.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.2803, allocations: 24.8 kB / 436.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.2806, allocations: 225 kB / 436.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.2807, allocations: 4.359 kB / 436.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.2807, allocations: 12.38 kB / 436.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.281, allocations: 162.7 kB / 436.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.281, allocations: 3.984 kB / 436.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.281, allocations: 7.984 kB / 436.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.281, allocations: 0 / 436.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2811, allocations: 35.92 kB / 436.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.2817, allocations: 429.6 kB / 437 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.2819, allocations: 122.5 kB / 437.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.282, allocations: 63.36 kB / 437.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.282, allocations: 0 / 437.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.2822, allocations: 97.09 kB / 437.3 MB, free: 348 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.2822, allocations: 0 / 437.3 MB, free: 348 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003593/0.2826, allocations: 153.4 kB / 437.5 MB, free: 188 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.2827, allocations: 170.1 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.283, allocations: 277 kB / 437.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.283, allocations: 29.7 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.988e-05/0.2831, allocations: 120.8 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.2831, allocations: 23.83 kB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.2832, allocations: 41.66 kB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2833, allocations: 330.8 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/0.2834, allocations: 23.92 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.2835, allocations: 82.92 kB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.2836, allocations: 85.08 kB / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2836, allocations: 0 / 438.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002215/0.2839, allocations: 133.4 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2839, allocations: 10.19 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2839, allocations: 3.938 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2839, allocations: 4 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.284, allocations: 11.98 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.284, allocations: 4 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.284, allocations: 11.95 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.2841, allocations: 4.156 kB / 438.8 MB, free: 14.72 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.0001365/0.2842, allocations: 153.7 kB / 439 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.2843, allocations: 65.55 kB / 439 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.2845, allocations: 111.7 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2845, allocations: 4 kB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2845, allocations: 0 / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2845, allocations: 0 / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.2847, allocations: 212.5 kB / 439.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2847, allocations: 8.062 kB / 439.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.2848, allocations: 7.984 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2848, allocations: 0 / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2848, allocations: 8 kB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2848, allocations: 0 / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2848, allocations: 3.938 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.285, allocations: 179.4 kB / 439.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.2851, allocations: 27.89 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.2851, allocations: 4 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.2852, allocations: 8 kB / 439.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.2852, allocations: 7.984 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2852, allocations: 4 kB / 439.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.2854, allocations: 204.4 kB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2854, allocations: 4 kB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000257/0.2857, allocations: 43.81 kB / 439.8 MB, free: 13.59 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 (11): * Single equations (assignments): 9 * 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.001892/0.2876, allocations: 1.018 MB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.2878, allocations: 75.84 kB / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2878, allocations: 0 / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.2879, allocations: 31.92 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.2883, allocations: 63.5 kB / 441 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.2906, allocations: 2.028 MB / 443.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.2909, allocations: 0.7398 MB / 443.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.21e-05/0.291, allocations: 21.48 kB / 443.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.2911, allocations: 47.42 kB / 443.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2911, allocations: 0 / 443.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.3236, allocations: 5.017 MB / 448.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.12, allocations: 11.92 kB / 448.9 MB, free: 4.543 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.568285639863461]