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.0007078/0.0007078, allocations: 93.67 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008463/0.0008464, allocations: 202.4 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.7 MB / 246.8 MB, free: 9.703 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002592, allocations: 4 kB / 307.8 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09135, allocations: 51.53 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002035/0.09342, allocations: 1.607 MB / 361 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.09528, allocations: 1.169 MB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.09544, allocations: 7.938 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.09597, allocations: 143.6 kB / 362.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.0963, allocations: 135.6 kB / 362.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.09674, allocations: 151 kB / 362.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.09697, allocations: 187.4 kB / 362.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.09708, allocations: 33.53 kB / 362.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.0972, allocations: 67.64 kB / 362.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.09731, allocations: 63.7 kB / 362.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.09734, allocations: 4 kB / 362.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.09746, allocations: 51.89 kB / 363 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.09752, allocations: 35.84 kB / 363 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.09762, allocations: 93.19 kB / 363.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.09789, allocations: 199.5 kB / 363.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.09791, allocations: 0 / 363.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.09792, allocations: 3.938 kB / 363.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.09793, allocations: 7.938 kB / 363.3 MB, free: 9.016 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.0006073/0.09854, allocations: 484.3 kB / 363.8 MB, free: 8.488 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.09858, allocations: 8.031 kB / 363.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.09863, allocations: 42.73 kB / 363.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.09868, allocations: 20.66 kB / 363.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.099, allocations: 266.8 kB / 364.1 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.09903, allocations: 12.31 kB / 364.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.09905, allocations: 7.938 kB / 364.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.09934, allocations: 150.7 kB / 364.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.09936, allocations: 0 / 364.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.09938, allocations: 0 / 364.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.09939, allocations: 0 / 364.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.09949, allocations: 39.92 kB / 364.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.09994, allocations: 362.4 kB / 364.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1002, allocations: 115.9 kB / 364.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.1002, allocations: 42.56 kB / 364.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1003, allocations: 0 / 364.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.1004, allocations: 83.33 kB / 364.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1004, allocations: 0 / 364.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003211/0.1008, allocations: 137.4 kB / 365 MB, free: 7.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.1008, allocations: 136.5 kB / 365.2 MB, free: 6.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.1011, allocations: 276.8 kB / 365.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1011, allocations: 29.94 kB / 365.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.1012, allocations: 120.1 kB / 365.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1013, allocations: 23.81 kB / 365.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1013, allocations: 21.7 kB / 365.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1014, allocations: 326.8 kB / 365.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.1015, allocations: 19.98 kB / 366 MB, free: 6.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-05/0.1016, allocations: 73.94 kB / 366 MB, free: 5.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1017, allocations: 76.22 kB / 366.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1017, allocations: 0 / 366.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002061/0.1019, allocations: 117.4 kB / 366.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1019, allocations: 8 kB / 366.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.102, allocations: 0 / 366.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.102, allocations: 0 / 366.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.102, allocations: 12 kB / 366.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1021, allocations: 3.938 kB / 366.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.1021, allocations: 23.83 kB / 366.3 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1022, allocations: 4 kB / 366.3 MB, free: 5.688 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.0001211/0.1023, allocations: 149.9 kB / 366.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.1024, allocations: 61.45 kB / 366.5 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.1024, allocations: 29.64 kB / 366.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1024, allocations: 0 / 366.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1024, allocations: 0 / 366.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1024, allocations: 7.938 kB / 366.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1026, allocations: 225.5 kB / 366.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1026, allocations: 320 / 366.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.1027, allocations: 4 kB / 366.7 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1027, allocations: 8 kB / 366.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1027, allocations: 8.062 kB / 366.8 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1027, allocations: 3.984 kB / 366.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1027, allocations: 4 kB / 366.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.1029, allocations: 150.4 kB / 366.9 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.103, allocations: 112.9 kB / 367 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.1031, allocations: 8 kB / 367 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.1031, allocations: 4 kB / 367 MB, free: 4.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1032, allocations: 11.92 kB / 367 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1032, allocations: 4 kB / 367.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1034, allocations: 204.4 kB / 367.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1034, allocations: 0 / 367.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1036, allocations: 32 kB / 367.3 MB, free: 4.57 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.001232/0.1049, allocations: 1.001 MB / 368.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.105, allocations: 71.91 kB / 368.4 MB, free: 3.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1051, allocations: 4.25 kB / 368.4 MB, free: 3.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.1051, allocations: 27.92 kB / 368.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1055, allocations: 60.03 kB / 368.4 MB, free: 3.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1075, allocations: 1.983 MB / 370.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.1078, allocations: 0.74 MB / 371.2 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.822e-05/0.1079, allocations: 17.55 kB / 371.2 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.108, allocations: 43.42 kB / 371.2 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.108, allocations: 0 / 371.2 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1524/0.2603, allocations: 4.114 MB / 375.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.2606, allocations: 256.4 kB / 375.6 MB, free: 17.95 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.041, allocations: 1.031 kB / 375.6 MB, free: 17.95 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