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.001416/0.001416, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.59 kB / 307 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09986, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003783/0.1037, allocations: 1.887 MB / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.106, allocations: 1.22 MB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1062, allocations: 7.938 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.1069, allocations: 151.5 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.1074, allocations: 155.4 kB / 361 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.1081, allocations: 174.7 kB / 361.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.1084, allocations: 195.5 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1085, allocations: 33.53 kB / 361.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1087, allocations: 71.7 kB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1088, allocations: 75.62 kB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.1089, allocations: 15.94 kB / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.1091, allocations: 55.97 kB / 361.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.869e-05/0.1091, allocations: 35.91 kB / 361.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1093, allocations: 79.41 kB / 361.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.1097, allocations: 211.6 kB / 361.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1097, allocations: 0 / 361.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1097, allocations: 0 / 361.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.1097, allocations: 0 / 361.9 MB, free: 9.637 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.0008978/0.1106, allocations: 0.5118 MB / 362.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1107, allocations: 11.97 kB / 362.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/0.1107, allocations: 42.69 kB / 362.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.1108, allocations: 20.66 kB / 362.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.1112, allocations: 266.8 kB / 362.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1112, allocations: 4.375 kB / 362.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.1112, allocations: 11.94 kB / 362.8 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.1116, allocations: 142.7 kB / 362.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1116, allocations: 7.984 kB / 362.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1116, allocations: 0 / 362.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1116, allocations: 0 / 362.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1117, allocations: 35.91 kB / 363 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.1123, allocations: 362.4 kB / 363.3 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.1126, allocations: 107.9 kB / 363.4 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/0.1127, allocations: 46.5 kB / 363.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1127, allocations: 12.06 kB / 363.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.1129, allocations: 75.38 kB / 363.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1129, allocations: 4 kB / 363.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003902/0.1133, allocations: 141.3 kB / 363.7 MB, free: 7.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/0.1134, allocations: 132.5 kB / 363.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.1137, allocations: 276.8 kB / 364.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1138, allocations: 29.7 kB / 364.1 MB, free: 7.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.1139, allocations: 116.1 kB / 364.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1139, allocations: 19.98 kB / 364.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.114, allocations: 29.72 kB / 364.3 MB, free: 6.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1141, allocations: 330.8 kB / 364.6 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.1142, allocations: 23.94 kB / 364.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.103e-05/0.1143, allocations: 69.98 kB / 364.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1144, allocations: 80.2 kB / 364.8 MB, free: 6.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1144, allocations: 0 / 364.8 MB, free: 6.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002091/0.1146, allocations: 109.4 kB / 364.9 MB, free: 6.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1147, allocations: 15.41 kB / 364.9 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1147, allocations: 0 / 364.9 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1147, allocations: 4 kB / 364.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.1148, allocations: 15.92 kB / 364.9 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1148, allocations: 4 kB / 364.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.1149, allocations: 11.84 kB / 365 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.1149, allocations: 4 kB / 365 MB, free: 6.27 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.0001462/0.1151, allocations: 141.8 kB / 365.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1152, allocations: 69.44 kB / 365.2 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.1153, allocations: 21.7 kB / 365.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1153, allocations: 4.312 kB / 365.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1153, allocations: 0 / 365.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1153, allocations: 3.938 kB / 365.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1156, allocations: 245.4 kB / 365.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1156, allocations: 0 / 365.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.1156, allocations: 4 kB / 365.4 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.1156, allocations: 4 kB / 365.4 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1156, allocations: 0 / 365.4 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.1157, allocations: 7.984 kB / 365.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1157, allocations: 8 kB / 365.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.116, allocations: 154.5 kB / 365.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1161, allocations: 104.8 kB / 365.7 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.1161, allocations: 4 kB / 365.7 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.1162, allocations: 11.98 kB / 365.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.1163, allocations: 11.94 kB / 365.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1163, allocations: 0 / 365.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.1166, allocations: 208.4 kB / 365.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1166, allocations: 0 / 365.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.1169, allocations: 31.98 kB / 366 MB, free: 5.145 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.001796/0.1187, allocations: 0.9895 MB / 367 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.119, allocations: 71.84 kB / 367 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.119, allocations: 7.938 kB / 367 MB, free: 4.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.523e-05/0.1191, allocations: 20 kB / 367.1 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.1196, allocations: 68.09 kB / 367.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.1223, allocations: 1.944 MB / 369.1 MB, free: 2.031 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1227, allocations: 0.7358 MB / 369.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.558e-05/0.1228, allocations: 17.55 kB / 369.8 MB, free: 1.254 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.1229, allocations: 51.42 kB / 369.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1229, allocations: 0 / 369.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.186/0.3089, allocations: 4.533 MB / 374.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.956, allocations: 6.516 kB / 374.4 MB, free: 19.54 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 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.csv","/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) Reference file matches