Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 104.1 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.001332/0.001332, 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.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.75 kB / 307 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1112, allocations: 50.54 MB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004299/0.1155, allocations: 1.998 MB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.1179, allocations: 1.251 MB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.1182, allocations: 7.938 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007703/0.119, allocations: 147.4 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.1195, allocations: 159.4 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.1202, allocations: 219.2 kB / 361.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.1205, allocations: 235.4 kB / 361.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1207, allocations: 56.25 kB / 361.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.1209, allocations: 95.62 kB / 361.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1211, allocations: 95.53 kB / 361.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.1211, allocations: 12 kB / 361.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1213, allocations: 59.92 kB / 361.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.1214, allocations: 55.81 kB / 361.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1215, allocations: 83.42 kB / 362 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.1218, allocations: 259.4 kB / 362.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1219, allocations: 0 / 362.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1219, allocations: 0 / 362.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1219, allocations: 4 kB / 362.3 MB, free: 9.238 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009324/0.1228, allocations: 0.5507 MB / 362.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1229, allocations: 8.031 kB / 362.8 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.1229, allocations: 46.73 kB / 362.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.123, allocations: 32.5 kB / 362.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.1234, allocations: 282.7 kB / 363.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1234, allocations: 8.375 kB / 363.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1235, allocations: 15.94 kB / 363.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.124, allocations: 317.4 kB / 363.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1241, allocations: 0 / 363.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1241, allocations: 0 / 363.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1241, allocations: 4 kB / 363.5 MB, free: 7.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1243, allocations: 63.91 kB / 363.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.1249, allocations: 386.3 kB / 364 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.1252, allocations: 171.8 kB / 364.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.1254, allocations: 90.67 kB / 364.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1254, allocations: 0 / 364.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.1256, allocations: 75.38 kB / 364.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.1256, allocations: 4 kB / 364.3 MB, free: 6.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005555/0.1261, allocations: 225.3 kB / 364.5 MB, free: 6.754 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.1263, allocations: 152.4 kB / 364.7 MB, free: 6.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.1266, allocations: 284.8 kB / 365 MB, free: 6.289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1267, allocations: 25.7 kB / 365 MB, free: 6.258 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1268, allocations: 120.7 kB / 365.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.1268, allocations: 35.64 kB / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.127, allocations: 53.88 kB / 365.2 MB, free: 6.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1271, allocations: 334.8 kB / 365.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/0.1272, allocations: 36.45 kB / 365.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.1274, allocations: 170.1 kB / 365.7 MB, free: 5.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.1277, allocations: 199.2 kB / 365.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.1277, allocations: 4 kB / 365.9 MB, free: 5.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003918/0.1281, allocations: 225.1 kB / 366.1 MB, free: 4.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1281, allocations: 10.81 kB / 366.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1282, allocations: 4 kB / 366.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1282, allocations: 4 kB / 366.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1283, allocations: 24.3 kB / 366.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.1283, allocations: 11.94 kB / 366.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.1285, allocations: 28.17 kB / 366.2 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1285, allocations: 12 kB / 366.2 MB, free: 4.871 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001651/0.1287, allocations: 173 kB / 366.4 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.1289, allocations: 129.6 kB / 366.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.017e-05/0.1289, allocations: 25.72 kB / 366.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.129, allocations: 0 / 366.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.129, allocations: 7.984 kB / 366.6 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.129, allocations: 3.938 kB / 366.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.1292, allocations: 253.4 kB / 366.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1292, allocations: 4.312 kB / 366.8 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.1293, allocations: 11.94 kB / 366.8 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1293, allocations: 4 kB / 366.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1293, allocations: 4 kB / 366.8 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1293, allocations: 4 kB / 366.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1293, allocations: 3.984 kB / 366.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.1297, allocations: 234 kB / 367.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1298, allocations: 116.8 kB / 367.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.1299, allocations: 11.98 kB / 367.2 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.1299, allocations: 4 kB / 367.2 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.13, allocations: 7.984 kB / 367.2 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.13, allocations: 8 kB / 367.2 MB, free: 3.781 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002097/0.1302, allocations: 208.4 kB / 367.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1302, allocations: 0 / 367.4 MB, free: 3.578 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000322/0.1305, allocations: 47.94 kB / 367.5 MB, free: 3.531 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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001687/0.1322, allocations: 1.141 MB / 368.6 MB, free: 2.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.1326, allocations: 151.6 kB / 368.8 MB, free: 2.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1326, allocations: 4 kB / 368.8 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.1327, allocations: 23.98 kB / 368.8 MB, free: 2.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.1332, allocations: 113.4 kB / 368.9 MB, free: 2.211 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.1352, allocations: 1.261 MB / 370.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1356, allocations: 0.7596 MB / 370.9 MB, free: 48 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1357, allocations: 34.48 kB / 370.9 MB, free: 12 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1822/0.3179, allocations: 65.59 kB / 371 MB, free: 19.35 MB / 302.1 MB Notification: Performance of SimCode: time 1.904e-06/0.318, allocations: 0 / 371 MB, free: 19.35 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.3499, allocations: 5.431 MB / 376.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.93, allocations: 8.266 kB / 376.4 MB, free: 18.77 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Error getting time " Variables in the reference:time,upSample1.y,upSample2.y,and1.y Variables in the result:and1.u1,and1.u2,and1.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,table1.combiTimeTable.columns[1],table1.combiTimeTable.extrapolation,table1.combiTimeTable.nHeaderLines,table1.combiTimeTable.nout,table1.combiTimeTable.offset[1],table1.combiTimeTable.shiftTime,table1.combiTimeTable.smoothness,table1.combiTimeTable.startTime,table1.combiTimeTable.t_max,table1.combiTimeTable.t_maxScaled,table1.combiTimeTable.t_min,table1.combiTimeTable.t_minScaled,table1.combiTimeTable.tableOnFile,table1.combiTimeTable.table[1,1],table1.combiTimeTable.table[1,2],table1.combiTimeTable.table[2,1],table1.combiTimeTable.table[2,2],table1.combiTimeTable.table[3,1],table1.combiTimeTable.table[3,2],table1.combiTimeTable.timeEvents,table1.combiTimeTable.timeScale,table1.combiTimeTable.verboseExtrapolation,table1.combiTimeTable.verboseRead,table1.combiTimeTable.y[1],table1.extrapolation,table1.realToBoolean.threshold,table1.realToBoolean.u,table1.realToBoolean.y,table1.shiftTime,table1.startTime,table1.startValue,table1.table[1],table1.table[2],table1.y,time,upSample1.b,upSample1.b_super,upSample1.factor,upSample1.inferFactor,upSample1.u,upSample1.y,upSample2.b,upSample2.b_super,upSample2.factor,upSample2.inferFactor,upSample2.u,upSample2.y