Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 102.1 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.41 kB / 306.4 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1195, allocations: 50.54 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004037/0.1236, allocations: 1.953 MB / 358.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.1261, allocations: 1.204 MB / 360 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.1264, allocations: 7.938 kB / 360.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.1271, allocations: 147.7 kB / 360.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.1275, allocations: 131.6 kB / 360.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.1281, allocations: 143.7 kB / 360.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.1284, allocations: 191.4 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1286, allocations: 37.52 kB / 360.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.1287, allocations: 67.66 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1289, allocations: 71.67 kB / 360.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1289, allocations: 4 kB / 360.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.129, allocations: 51.86 kB / 360.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.1291, allocations: 39.83 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.1292, allocations: 71.48 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1296, allocations: 199.6 kB / 361.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.1296, allocations: 8 kB / 361.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1296, allocations: 0 / 361.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1296, allocations: 4 kB / 361.2 MB, free: 9.848 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008994/0.1305, allocations: 0.5079 MB / 361.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1305, allocations: 8.031 kB / 361.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.1306, allocations: 34.75 kB / 361.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.1307, allocations: 24.64 kB / 361.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.131, allocations: 266.8 kB / 362 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.1311, allocations: 4.375 kB / 362 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1311, allocations: 11.94 kB / 362.1 MB, free: 8.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.1314, allocations: 150.7 kB / 362.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1315, allocations: 0 / 362.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1315, allocations: 4 kB / 362.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1315, allocations: 0 / 362.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1316, allocations: 31.98 kB / 362.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.1321, allocations: 366.3 kB / 362.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1324, allocations: 119.9 kB / 362.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-05/0.1325, allocations: 38.56 kB / 362.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1325, allocations: 4 kB / 362.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1327, allocations: 83.31 kB / 362.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1327, allocations: 0 / 362.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003758/0.1331, allocations: 137.4 kB / 363 MB, free: 7.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.1332, allocations: 132.5 kB / 363.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.1335, allocations: 276.8 kB / 363.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1335, allocations: 29.7 kB / 363.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.1336, allocations: 116.4 kB / 363.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.1336, allocations: 27.67 kB / 363.5 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.1337, allocations: 29.7 kB / 363.6 MB, free: 7.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1338, allocations: 330.8 kB / 363.9 MB, free: 6.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.1339, allocations: 19.98 kB / 363.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.429e-05/0.134, allocations: 73.94 kB / 364 MB, free: 6.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1341, allocations: 76.22 kB / 364.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1341, allocations: 0 / 364.1 MB, free: 6.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002174/0.1344, allocations: 121.4 kB / 364.2 MB, free: 6.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1344, allocations: 4 kB / 364.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1344, allocations: 0 / 364.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1344, allocations: 4 kB / 364.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/0.1345, allocations: 8 kB / 364.2 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.1345, allocations: 7.938 kB / 364.2 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.1346, allocations: 15.83 kB / 364.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1346, allocations: 4 kB / 364.2 MB, free: 6.484 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001317/0.1347, allocations: 154.1 kB / 364.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.059e-05/0.1348, allocations: 61.52 kB / 364.4 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.1349, allocations: 25.7 kB / 364.4 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1349, allocations: 3.938 kB / 364.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1349, allocations: 0 / 364.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1349, allocations: 7.938 kB / 364.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1351, allocations: 229.5 kB / 364.7 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1351, allocations: 0 / 364.7 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.1352, allocations: 8 kB / 364.7 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1352, allocations: 4.062 kB / 364.7 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1352, allocations: 4 kB / 364.7 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1352, allocations: 4 kB / 364.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1352, allocations: 3.984 kB / 364.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1355, allocations: 154.5 kB / 364.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.1356, allocations: 108.8 kB / 365 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.1356, allocations: 7.984 kB / 365 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.1357, allocations: 8 kB / 365 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1357, allocations: 7.938 kB / 365 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1357, allocations: 7.984 kB / 365 MB, free: 5.594 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.1359, allocations: 200.5 kB / 365.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.136, allocations: 0 / 365.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1362, allocations: 32 kB / 365.2 MB, free: 5.363 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.001455/0.1377, allocations: 1.001 MB / 366.2 MB, free: 4.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1379, allocations: 63.91 kB / 366.3 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.1379, allocations: 8.25 kB / 366.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.789e-05/0.138, allocations: 20 kB / 366.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.1384, allocations: 69.38 kB / 366.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.1407, allocations: 1.978 MB / 368.4 MB, free: 2.215 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.141, allocations: 0.7361 MB / 369.1 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.403e-05/0.1411, allocations: 21.53 kB / 369.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1412, allocations: 43.42 kB / 369.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1412, allocations: 0 / 369.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2163/0.3576, allocations: 4.308 MB / 373.5 MB, free: 16.09 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.3578, allocations: 260.7 kB / 373.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.273, allocations: 3.688 kB / 373.7 MB, free: 15.81 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Error getting time " Variables in the reference:time,sample1.y,superSample1.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,superSample1.factor,superSample1.inferFactor,superSample1.u,superSample1.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