Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001236/0.001236, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 59.84 kB / 306.6 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1095, allocations: 50.53 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.004794/0.1143, allocations: 1.503 MB / 358.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003833/0.1148, allocations: 87.75 kB / 358.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.1149, allocations: 0 / 358.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.736e-05/0.115, allocations: 11.92 kB / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.63e-05/0.1151, allocations: 0 / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1154, allocations: 15.98 kB / 358.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1155, allocations: 23.92 kB / 358.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1157, allocations: 15.94 kB / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.1157, allocations: 11.97 kB / 358.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.1158, allocations: 11.94 kB / 358.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1158, allocations: 0 / 358.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.1158, allocations: 4 kB / 358.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.1159, allocations: 7.938 kB / 358.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.1159, allocations: 19.86 kB / 358.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1161, allocations: 27.91 kB / 358.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1161, allocations: 0 / 358.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1161, allocations: 0 / 358.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1161, allocations: 4 kB / 358.8 MB, free: 12.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006827/0.1168, allocations: 335.7 kB / 359.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.1169, allocations: 8.031 kB / 359.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.1169, allocations: 34.75 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.117, allocations: 8.844 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1172, allocations: 172.4 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1173, allocations: 4.375 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1173, allocations: 4.375 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.1177, allocations: 103.9 kB / 359.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1177, allocations: 3.938 kB / 359.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1177, allocations: 4 kB / 359.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1177, allocations: 0 / 359.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.1179, allocations: 15.92 kB / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.1181, allocations: 161.5 kB / 359.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1182, allocations: 50.61 kB / 359.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.1183, allocations: 20.88 kB / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1184, allocations: 0 / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1184, allocations: 38.56 kB / 359.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1184, allocations: 0 / 359.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002557/0.1187, allocations: 65.55 kB / 359.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.1187, allocations: 59.41 kB / 359.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.1188, allocations: 105.8 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1189, allocations: 25.7 kB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.1189, allocations: 80.14 kB / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.119, allocations: 0 / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.119, allocations: 17.72 kB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1192, allocations: 326.8 kB / 360.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.1192, allocations: 4 kB / 360.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.1193, allocations: 23.62 kB / 360.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.1193, allocations: 35.38 kB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1193, allocations: 256 / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/0.1195, allocations: 61.66 kB / 360.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.1195, allocations: 7.938 kB / 360.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.1195, allocations: 7.984 kB / 360.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1195, allocations: 4 kB / 360.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.1196, allocations: 4 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1196, allocations: 3.984 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.432e-05/0.1197, allocations: 11.84 kB / 360.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1197, allocations: 4 kB / 360.6 MB, free: 10.54 MB / 302.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 0.0001027/0.1198, allocations: 110 kB / 360.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.1199, allocations: 61.56 kB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.12, allocations: 3.5 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.12, allocations: 4 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.12, allocations: 0 / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.12, allocations: 0 / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.1202, allocations: 157.7 kB / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1202, allocations: 0 / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.1202, allocations: 0 / 360.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1202, allocations: 7.938 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1202, allocations: 4 kB / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1203, allocations: 0 / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1203, allocations: 0 / 360.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.1204, allocations: 77.06 kB / 361 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.1205, allocations: 89 kB / 361.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.1205, allocations: 7.938 kB / 361.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.58e-05/0.1206, allocations: 3.938 kB / 361.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-06/0.1206, allocations: 4 kB / 361.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1206, allocations: 0 / 361.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.1207, allocations: 79.28 kB / 361.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1207, allocations: 4 kB / 361.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001963/0.1209, allocations: 4 kB / 361.2 MB, free: 9.82 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.0004159/0.1213, allocations: 0.6204 MB / 361.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1214, allocations: 27.86 kB / 361.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1214, allocations: 0 / 361.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.1214, allocations: 0 / 361.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.1217, allocations: 27.92 kB / 361.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1227, allocations: 1.15 MB / 363 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1231, allocations: 0.6807 MB / 363.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.41e-05/0.1231, allocations: 0 / 363.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.1232, allocations: 15.44 kB / 363.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1232, allocations: 0 / 363.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.1364, allocations: 1.137 MB / 364.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/0.1366, allocations: 218.8 kB / 365.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.24, allocations: 0 / 365.1 MB, free: 5.914 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches