Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 110 kB / 16.63 MB, free: 6.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 189.8 kB / 17.55 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 241.2 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 51.2 kB / 300.2 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1146, allocations: 49.44 MB / 349.7 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003106/0.1178, allocations: 1.486 MB / 351.2 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002783/0.1181, allocations: 95.69 kB / 351.3 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.1182, allocations: 7.938 kB / 351.3 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.1183, allocations: 3.984 kB / 351.3 MB, free: 2.859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.764e-05/0.1183, allocations: 3.984 kB / 351.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.1186, allocations: 15.94 kB / 351.3 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.303e-05/0.1187, allocations: 23.92 kB / 351.3 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1188, allocations: 11.98 kB / 351.3 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.1188, allocations: 15.92 kB / 351.4 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.016e-05/0.1189, allocations: 7.938 kB / 351.4 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1189, allocations: 4 kB / 351.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.1189, allocations: 4 kB / 351.4 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.1189, allocations: 4 kB / 351.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.119, allocations: 19.86 kB / 351.4 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.004e-05/0.1191, allocations: 27.91 kB / 351.4 MB, free: 2.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1191, allocations: 0 / 351.4 MB, free: 2.723 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1191, allocations: 0 / 351.4 MB, free: 2.723 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1191, allocations: 0 / 351.4 MB, free: 2.723 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004174/0.1195, allocations: 343.7 kB / 351.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1196, allocations: 8.031 kB / 351.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.1196, allocations: 34.75 kB / 351.8 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1196, allocations: 8.844 kB / 351.8 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1198, allocations: 172.4 kB / 352 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1199, allocations: 384 / 352 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.1199, allocations: 4.375 kB / 352 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1202, allocations: 103.8 kB / 352.1 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1202, allocations: 11.88 kB / 352.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1202, allocations: 0 / 352.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1202, allocations: 0 / 352.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/0.1203, allocations: 15.97 kB / 352.1 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1205, allocations: 153.7 kB / 352.3 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1206, allocations: 50.59 kB / 352.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.1207, allocations: 16.89 kB / 352.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1207, allocations: 4 kB / 352.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1207, allocations: 42.5 kB / 352.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1207, allocations: 0 / 352.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002188/0.121, allocations: 69.52 kB / 352.4 MB, free: 1.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.121, allocations: 51.41 kB / 352.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.1211, allocations: 105.8 kB / 352.6 MB, free: 1.344 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1211, allocations: 25.7 kB / 352.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.1212, allocations: 84.14 kB / 352.7 MB, free: 1.227 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.1212, allocations: 4 kB / 352.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.1212, allocations: 13.72 kB / 352.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1213, allocations: 322.8 kB / 353 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.1213, allocations: 0 / 353 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.1214, allocations: 31.62 kB / 353.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/0.1214, allocations: 31.44 kB / 353.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.1214, allocations: 4 kB / 353.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.423e-05/0.1215, allocations: 65.5 kB / 353.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1216, allocations: 7.938 kB / 353.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1216, allocations: 8.125 kB / 353.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1216, allocations: 0 / 353.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.536e-05/0.1216, allocations: 7.984 kB / 353.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1216, allocations: 0 / 353.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.1217, allocations: 3.938 kB / 353.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.1217, allocations: 4 kB / 353.2 MB, free: 0.6875 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.646e-05/0.1218, allocations: 113.8 kB / 353.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1219, allocations: 57.53 kB / 353.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.1219, allocations: 7.5 kB / 353.4 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1219, allocations: 4 kB / 353.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1219, allocations: 0 / 353.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1219, allocations: 0 / 353.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.122, allocations: 157.7 kB / 353.5 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1221, allocations: 0 / 353.5 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.1221, allocations: 0 / 353.5 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1221, allocations: 7.938 kB / 353.5 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1221, allocations: 4 kB / 353.5 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1221, allocations: 0 / 353.5 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1221, allocations: 3.938 kB / 353.5 MB, free: 272 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.1223, allocations: 85.38 kB / 353.6 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1223, allocations: 89.05 kB / 353.7 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1223, allocations: 3.938 kB / 353.7 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.1224, allocations: 0 / 353.7 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.1224, allocations: 0 / 353.7 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1224, allocations: 4 kB / 353.7 MB, free: 52 kB / 286.1 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.1225, allocations: 83.28 kB / 353.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1225, allocations: 0 / 353.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001882/0.1227, allocations: 8 kB / 353.8 MB, free: 15.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004115/0.1231, allocations: 0.6201 MB / 354.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.1232, allocations: 23.98 kB / 354.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1232, allocations: 256 / 354.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.1232, allocations: 4 kB / 354.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1234, allocations: 27.95 kB / 354.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.1244, allocations: 1.15 MB / 355.6 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1247, allocations: 0.6807 MB / 356.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.412e-05/0.1247, allocations: 4 kB / 356.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.1247, allocations: 7.438 kB / 356.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1248, allocations: 0 / 356.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.1364, allocations: 1.129 MB / 357.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.1366, allocations: 223.3 kB / 357.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.067, allocations: 0 / 357.7 MB, free: 12.06 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches