Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",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.001371/0.001371, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001305/0.001304, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.392/1.392, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 51.08 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1144, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003267/0.1177, allocations: 1.499 MB / 351.7 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000498/0.1183, allocations: 145 kB / 351.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1184, allocations: 0 / 351.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.913e-05/0.1185, allocations: 3.938 kB / 351.8 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.1187, allocations: 11.92 kB / 351.8 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.119, allocations: 37.28 kB / 351.9 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1191, allocations: 35.91 kB / 351.9 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1193, allocations: 12 kB / 351.9 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.1193, allocations: 15.92 kB / 351.9 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.1194, allocations: 19.88 kB / 351.9 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1194, allocations: 4 kB / 351.9 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.1194, allocations: 0 / 351.9 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.1195, allocations: 11.98 kB / 352 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.1196, allocations: 19.81 kB / 352 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1197, allocations: 47.81 kB / 352 MB, free: 2.445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1197, allocations: 0 / 352 MB, free: 2.445 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1197, allocations: 0 / 352 MB, free: 2.445 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1197, allocations: 0 / 352 MB, free: 2.445 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005392/0.1203, allocations: 367.4 kB / 352.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1203, allocations: 12.03 kB / 352.4 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.1204, allocations: 42.73 kB / 352.4 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.1204, allocations: 4.844 kB / 352.4 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1206, allocations: 188.2 kB / 352.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1207, allocations: 4.312 kB / 352.6 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1207, allocations: 4.375 kB / 352.6 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.121, allocations: 121.5 kB / 352.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.121, allocations: 3.938 kB / 352.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.121, allocations: 0 / 352.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.121, allocations: 0 / 352.8 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.287e-05/0.1211, allocations: 15.98 kB / 352.8 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.1214, allocations: 265.7 kB / 353 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1216, allocations: 138.2 kB / 353.2 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.1217, allocations: 25.77 kB / 353.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1217, allocations: 0 / 353.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1217, allocations: 46.5 kB / 353.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1217, allocations: 0 / 353.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.122, allocations: 61.67 kB / 353.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.122, allocations: 85.05 kB / 353.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/0.1221, allocations: 137 kB / 353.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1221, allocations: 25.7 kB / 353.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.1222, allocations: 84.14 kB / 353.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.959e-06/0.1222, allocations: 8.062 kB / 353.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1222, allocations: 25.7 kB / 353.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.1223, allocations: 310.8 kB / 354 MB, free: 240 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.1224, allocations: 11.98 kB / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.1224, allocations: 27.44 kB / 354 MB, free: 188 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.559e-05/0.1225, allocations: 43.36 kB / 354 MB, free: 132 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1225, allocations: 3.938 kB / 354 MB, free: 128 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001096/0.1226, allocations: 65.53 kB / 354.1 MB, free: 56 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1227, allocations: 8 kB / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1227, allocations: 0 / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1227, allocations: 4.406 kB / 354.1 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.484e-05/0.1227, allocations: 7.938 kB / 354.1 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1227, allocations: 0 / 354.1 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.1228, allocations: 4 kB / 354.1 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1228, allocations: 4 kB / 354.1 MB, free: 28 kB / 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.0001187/0.1229, allocations: 121.8 kB / 354.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.123, allocations: 53.58 kB / 354.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.123, allocations: 11.91 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.123, allocations: 3.938 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1231, allocations: 4 kB / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1231, allocations: 4 kB / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1233, allocations: 165.6 kB / 354.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1233, allocations: 3.938 kB / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-06/0.1233, allocations: 0 / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1233, allocations: 0 / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1233, allocations: 8 kB / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1233, allocations: 0 / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1233, allocations: 0 / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.1235, allocations: 168.2 kB / 354.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.1236, allocations: 85.09 kB / 354.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1236, allocations: 0 / 354.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.1237, allocations: 11.94 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1237, allocations: 0 / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1237, allocations: 3.938 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.714e-05/0.1238, allocations: 107.2 kB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1238, allocations: 0 / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1241, allocations: 8 kB / 354.9 MB, free: 15.17 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0004769/0.1245, allocations: 0.6897 MB / 355.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.1247, allocations: 35.92 kB / 355.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1247, allocations: 0 / 355.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.1247, allocations: 7.984 kB / 355.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1251, allocations: 19.97 kB / 355.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1264, allocations: 1.303 MB / 356.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.1267, allocations: 0.6885 MB / 357.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.411e-05/0.1267, allocations: 8 kB / 357.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.1267, allocations: 15.42 kB / 357.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1268, allocations: 0 / 357.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.1463, allocations: 1.436 MB / 359.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/8.513, allocations: 3.938 kB / 359.1 MB, free: 10.89 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches