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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 109.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001209, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.41 kB / 306.6 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1144, allocations: 50.53 MB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003521/0.1179, allocations: 1.973 MB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1199, allocations: 1.192 MB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.1201, allocations: 7.938 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.1209, allocations: 143.7 kB / 360.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.1214, allocations: 139.6 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.122, allocations: 163.2 kB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.1222, allocations: 195.5 kB / 360.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1224, allocations: 41.64 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.1225, allocations: 83.62 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1227, allocations: 79.62 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1227, allocations: 8 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1228, allocations: 51.92 kB / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.123, allocations: 55.81 kB / 361.2 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.464e-05/0.1231, allocations: 79.48 kB / 361.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1234, allocations: 215.6 kB / 361.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1234, allocations: 0 / 361.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1234, allocations: 0 / 361.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1234, allocations: 0 / 361.5 MB, free: 9.66 MB / 302.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.0008859/0.1243, allocations: 0.5156 MB / 362 MB, free: 9.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1244, allocations: 12.03 kB / 362 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.1244, allocations: 38.73 kB / 362.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.1245, allocations: 24.66 kB / 362.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1248, allocations: 266.8 kB / 362.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1249, allocations: 16.3 kB / 362.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1249, allocations: 11.94 kB / 362.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.1252, allocations: 154.3 kB / 362.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1253, allocations: 0 / 362.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.1253, allocations: 11.98 kB / 362.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1253, allocations: 4 kB / 362.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1254, allocations: 35.92 kB / 362.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.126, allocations: 454.5 kB / 363 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1262, allocations: 130.5 kB / 363.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.655e-05/0.1263, allocations: 59.36 kB / 363.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.1264, allocations: 7.984 kB / 363.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.1266, allocations: 92.95 kB / 363.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.1266, allocations: 4 kB / 363.3 MB, free: 7.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004113/0.127, allocations: 157.3 kB / 363.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.1271, allocations: 166.2 kB / 363.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.1274, allocations: 272.9 kB / 363.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.1275, allocations: 29.7 kB / 363.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.1276, allocations: 120.7 kB / 364 MB, free: 6.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1276, allocations: 23.8 kB / 364.1 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.1277, allocations: 33.7 kB / 364.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1279, allocations: 326.8 kB / 364.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.411e-05/0.128, allocations: 23.98 kB / 364.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1281, allocations: 82.86 kB / 364.5 MB, free: 6.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1283, allocations: 97.36 kB / 364.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1283, allocations: 0 / 364.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000247/0.1285, allocations: 129.3 kB / 364.7 MB, free: 6.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1285, allocations: 7.984 kB / 364.7 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1286, allocations: 4 kB / 364.7 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1286, allocations: 0 / 364.7 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.1287, allocations: 19.94 kB / 364.8 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.1287, allocations: 4 kB / 364.8 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.301e-05/0.1288, allocations: 15.86 kB / 364.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1288, allocations: 4 kB / 364.8 MB, free: 5.977 MB / 302.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.0001389/0.1289, allocations: 151 kB / 364.9 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1291, allocations: 73.34 kB / 365 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.1291, allocations: 25.7 kB / 365 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1291, allocations: 0 / 365 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1291, allocations: 4 kB / 365 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1292, allocations: 3.938 kB / 365 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.1294, allocations: 229.6 kB / 365.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1294, allocations: 0 / 365.3 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.287e-05/0.1294, allocations: 15.98 kB / 365.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1295, allocations: 4 kB / 365.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1295, allocations: 0 / 365.3 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1295, allocations: 7.938 kB / 365.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1295, allocations: 0 / 365.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.1298, allocations: 175.3 kB / 365.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.1299, allocations: 108.8 kB / 365.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.1299, allocations: 12.05 kB / 365.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.13, allocations: 4 kB / 365.6 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.1301, allocations: 11.88 kB / 365.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1301, allocations: 11.98 kB / 365.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1303, allocations: 200.5 kB / 365.8 MB, free: 4.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1303, allocations: 0 / 365.8 MB, free: 4.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1306, allocations: 32 kB / 365.8 MB, free: 4.82 MB / 302.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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001409/0.132, allocations: 1.019 MB / 366.9 MB, free: 3.902 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1322, allocations: 83.84 kB / 366.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1323, allocations: 0 / 366.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.1323, allocations: 31.92 kB / 367 MB, free: 3.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.1328, allocations: 67.52 kB / 367 MB, free: 3.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.1353, allocations: 2.059 MB / 369.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1356, allocations: 0.7319 MB / 369.8 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.214e-05/0.1357, allocations: 25.52 kB / 369.8 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.1358, allocations: 51.42 kB / 369.9 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1358, allocations: 0 / 369.9 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.274/0.4098, allocations: 4.591 MB / 374.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/0.4102, allocations: 251.3 kB / 374.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/2.707, allocations: 0 / 374.7 MB, free: 19.21 MB / 302.1 MB (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 --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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) "Error: Error getting time " Variables in the reference:time,sample1.y,shiftSample1.y,hold1.y Variables in the result:hold1.u,hold1.y,hold1.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,shiftSample1.resolution,shiftSample1.shiftCounter,shiftSample1.u,shiftSample1.y,table.combiTimeTable.columns[1],table.combiTimeTable.extrapolation,table.combiTimeTable.nHeaderLines,table.combiTimeTable.nout,table.combiTimeTable.offset[1],table.combiTimeTable.shiftTime,table.combiTimeTable.smoothness,table.combiTimeTable.startTime,table.combiTimeTable.t_max,table.combiTimeTable.t_maxScaled,table.combiTimeTable.t_min,table.combiTimeTable.t_minScaled,table.combiTimeTable.tableOnFile,table.combiTimeTable.table[1,1],table.combiTimeTable.table[1,2],table.combiTimeTable.table[2,1],table.combiTimeTable.table[2,2],table.combiTimeTable.table[3,1],table.combiTimeTable.table[3,2],table.combiTimeTable.timeEvents,table.combiTimeTable.timeScale,table.combiTimeTable.verboseExtrapolation,table.combiTimeTable.verboseRead,table.combiTimeTable.y[1],table.extrapolation,table.realToBoolean.threshold,table.realToBoolean.u,table.realToBoolean.y,table.shiftTime,table.startTime,table.startValue,table.table[1],table.table[2],table.y,time