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.001101/0.001101, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 65.27 kB / 307.1 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1124, allocations: 50.53 MB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003647/0.1161, allocations: 1.895 MB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1181, allocations: 1.22 MB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.1183, allocations: 3.938 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.1189, allocations: 151.5 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004569/0.1194, allocations: 159.4 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.1199, allocations: 171.2 kB / 361.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.1202, allocations: 187.5 kB / 361.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1204, allocations: 45.5 kB / 361.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1205, allocations: 75.66 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1206, allocations: 75.67 kB / 361.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.1206, allocations: 8 kB / 361.6 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1208, allocations: 51.97 kB / 361.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.1209, allocations: 47.78 kB / 361.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.121, allocations: 75.48 kB / 361.7 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1213, allocations: 203.6 kB / 361.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1213, allocations: 4 kB / 361.9 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1213, allocations: 4 kB / 361.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1213, allocations: 0 / 361.9 MB, free: 9.594 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.0007297/0.1221, allocations: 0.5079 MB / 362.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1221, allocations: 8.031 kB / 362.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.1222, allocations: 42.69 kB / 362.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.1222, allocations: 24.64 kB / 362.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1225, allocations: 262.8 kB / 362.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.1226, allocations: 12.38 kB / 362.8 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1226, allocations: 7.938 kB / 362.8 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.1229, allocations: 142.7 kB / 362.9 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1229, allocations: 3.984 kB / 362.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1229, allocations: 0 / 362.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1229, allocations: 4 kB / 362.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.987e-05/0.123, allocations: 39.92 kB / 363 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.1235, allocations: 358.3 kB / 363.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1238, allocations: 115.9 kB / 363.4 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.373e-05/0.1238, allocations: 38.56 kB / 363.5 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1239, allocations: 4 kB / 363.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.124, allocations: 83.31 kB / 363.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.1241, allocations: 0 / 363.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003487/0.1244, allocations: 137.6 kB / 363.7 MB, free: 7.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.1245, allocations: 136.5 kB / 363.8 MB, free: 7.422 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.1248, allocations: 277.1 kB / 364.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1248, allocations: 29.7 kB / 364.1 MB, free: 7.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.1249, allocations: 116.1 kB / 364.2 MB, free: 6.992 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1249, allocations: 23.73 kB / 364.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.125, allocations: 25.72 kB / 364.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1251, allocations: 334.8 kB / 364.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/0.1252, allocations: 15.98 kB / 364.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.068e-05/0.1253, allocations: 81.88 kB / 364.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1254, allocations: 72.22 kB / 364.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1254, allocations: 0 / 364.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002084/0.1257, allocations: 125.4 kB / 364.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1257, allocations: 4 kB / 364.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1257, allocations: 0 / 364.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1257, allocations: 4 kB / 364.9 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.1258, allocations: 8 kB / 364.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1258, allocations: 4 kB / 364.9 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.1259, allocations: 19.83 kB / 365 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1259, allocations: 4 kB / 365 MB, free: 6.227 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.0001259/0.1261, allocations: 149.8 kB / 365.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.1261, allocations: 57.52 kB / 365.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.1262, allocations: 25.7 kB / 365.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1262, allocations: 0 / 365.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1262, allocations: 3.938 kB / 365.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.1262, allocations: 7.938 kB / 365.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1265, allocations: 233.5 kB / 365.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1265, allocations: 0 / 365.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.1265, allocations: 12 kB / 365.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1265, allocations: 4 kB / 365.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1265, allocations: 4.125 kB / 365.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1265, allocations: 4 kB / 365.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1265, allocations: 0 / 365.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1268, allocations: 158.5 kB / 365.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.943e-05/0.1269, allocations: 112.8 kB / 365.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1269, allocations: 3.984 kB / 365.7 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.707e-05/0.127, allocations: 4 kB / 365.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.127, allocations: 11.94 kB / 365.7 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1271, allocations: 7.984 kB / 365.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.1273, allocations: 200.5 kB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1273, allocations: 0 / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1276, allocations: 28 kB / 366 MB, free: 5.109 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.001413/0.129, allocations: 0.9937 MB / 367 MB, free: 4.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1292, allocations: 79.84 kB / 367 MB, free: 4.141 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1292, allocations: 0 / 367 MB, free: 4.141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.1293, allocations: 24 kB / 367.1 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1297, allocations: 64.77 kB / 367.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.1318, allocations: 1.949 MB / 369.1 MB, free: 1.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1321, allocations: 0.7319 MB / 369.8 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.465e-05/0.1322, allocations: 25.53 kB / 369.8 MB, free: 1.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.446e-05/0.1323, allocations: 43.42 kB / 369.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.1323, allocations: 0 / 369.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1792/0.3116, allocations: 4.531 MB / 374.4 MB, free: 19.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/7.906, allocations: 16.48 kB / 374.4 MB, free: 19.47 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