Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001357/0.001357, allocations: 116.4 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.001436/0.001436, allocations: 214.9 kB / 23.75 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.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.IntegerSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2728, allocations: 53.4 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004153/0.277, allocations: 1.937 MB / 433.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.2796, allocations: 1.332 MB / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.2797, allocations: 7.938 kB / 434.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.2801, allocations: 67.67 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.2805, allocations: 139.4 kB / 434.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.2812, allocations: 227 kB / 434.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.2815, allocations: 195.4 kB / 435.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.2817, allocations: 21.73 kB / 435.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2819, allocations: 87.62 kB / 435.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.282, allocations: 87.67 kB / 435.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.282, allocations: 11.94 kB / 435.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.2822, allocations: 75.94 kB / 435.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.2823, allocations: 59.7 kB / 435.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.2824, allocations: 79.47 kB / 435.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.2829, allocations: 251.3 kB / 435.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2829, allocations: 0 / 435.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2829, allocations: 0 / 435.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.2829, allocations: 0 / 435.7 MB, free: 2.129 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.000854/0.2838, allocations: 490.4 kB / 436.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2838, allocations: 8.031 kB / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.2839, allocations: 38.75 kB / 436.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.2839, allocations: 32.73 kB / 436.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.2844, allocations: 233.5 kB / 436.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.2844, allocations: 16.36 kB / 436.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.2844, allocations: 4.375 kB / 436.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.2848, allocations: 179.5 kB / 436.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2848, allocations: 3.938 kB / 436.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.2848, allocations: 0 / 436.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2848, allocations: 8 kB / 436.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.285, allocations: 43.91 kB / 436.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.2856, allocations: 437.6 kB / 437.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.2859, allocations: 146.5 kB / 437.3 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.2861, allocations: 51.42 kB / 437.4 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.2861, allocations: 16.05 kB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.2863, allocations: 96.98 kB / 437.5 MB, free: 148 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.2863, allocations: 0 / 437.5 MB, free: 148 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004488/0.2868, allocations: 169.7 kB / 437.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001921/0.287, allocations: 191.9 kB / 437.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.2873, allocations: 340.2 kB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.2874, allocations: 29.64 kB / 438.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2875, allocations: 132.4 kB / 438.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.2875, allocations: 19.89 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.2875, allocations: 29.72 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.2878, allocations: 342.8 kB / 438.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.2878, allocations: 27.98 kB / 438.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.288, allocations: 95.7 kB / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.2882, allocations: 101 kB / 438.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2882, allocations: 0 / 438.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002528/0.2884, allocations: 137.5 kB / 439.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2884, allocations: 12.03 kB / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2884, allocations: 0 / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2885, allocations: 4 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.2886, allocations: 19.98 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.2886, allocations: 7.938 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.2887, allocations: 16.14 kB / 439.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2887, allocations: 8 kB / 439.1 MB, free: 14.36 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.0001508/0.2889, allocations: 157.8 kB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.289, allocations: 77.5 kB / 439.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.2892, allocations: 115.4 kB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2892, allocations: 4 kB / 439.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2892, allocations: 0 / 439.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2892, allocations: 4 kB / 439.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.2896, allocations: 216.6 kB / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2896, allocations: 4 kB / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.387e-05/0.2896, allocations: 19.92 kB / 439.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2896, allocations: 4.062 kB / 439.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.2897, allocations: 8 kB / 439.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2897, allocations: 0 / 439.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2897, allocations: 0 / 439.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.29, allocations: 199.2 kB / 439.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.2901, allocations: 43.77 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.2901, allocations: 8 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.2902, allocations: 4 kB / 440 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.2903, allocations: 11.98 kB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.2903, allocations: 7.984 kB / 440 MB, free: 13.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002638/0.2905, allocations: 251 kB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2905, allocations: 4 kB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.2908, allocations: 39.92 kB / 440.3 MB, free: 13.12 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.002128/0.2929, allocations: 1.022 MB / 441.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.2932, allocations: 83.84 kB / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2932, allocations: 0 / 441.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.2933, allocations: 39.91 kB / 441.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.2937, allocations: 78.33 kB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.2968, allocations: 2.296 MB / 443.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.2972, allocations: 0.7476 MB / 444.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.2973, allocations: 33.62 kB / 444.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.2975, allocations: 63.41 kB / 444.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2975, allocations: 0 / 444.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.335, allocations: 5.676 MB / 450.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.55, allocations: 13.06 kB / 450.3 MB, free: 3.07 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.260686768000596]