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.001328/0.001328, allocations: 110.3 kB / 16.51 MB, free: 6.715 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.001328/0.001329, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.543/1.543, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 47.64 kB / 300.1 MB, free: 6.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1165, allocations: 49.44 MB / 349.5 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003499/0.12, allocations: 1.554 MB / 351.1 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004654/0.1205, allocations: 143.5 kB / 351.2 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1207, allocations: 0 / 351.2 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.561e-05/0.1208, allocations: 0 / 351.2 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.1209, allocations: 11.94 kB / 351.2 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1212, allocations: 31.91 kB / 351.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.332e-05/0.1213, allocations: 31.92 kB / 351.3 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1215, allocations: 19.97 kB / 351.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.1215, allocations: 11.88 kB / 351.3 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.544e-05/0.1216, allocations: 15.92 kB / 351.3 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1216, allocations: 4 kB / 351.3 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.1216, allocations: 0 / 351.3 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.1217, allocations: 11.94 kB / 351.3 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.1217, allocations: 27.84 kB / 351.4 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1218, allocations: 43.83 kB / 351.4 MB, free: 2.637 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1219, allocations: 0 / 351.4 MB, free: 2.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1219, allocations: 0 / 351.4 MB, free: 2.637 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1219, allocations: 3.938 kB / 351.4 MB, free: 2.633 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.000527/0.1224, allocations: 363.5 kB / 351.8 MB, free: 2.227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1225, allocations: 12.03 kB / 351.8 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.1225, allocations: 38.75 kB / 351.8 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.1226, allocations: 8.844 kB / 351.8 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1228, allocations: 192.2 kB / 352 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1228, allocations: 8.312 kB / 352 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1228, allocations: 4.375 kB / 352 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.1231, allocations: 105.6 kB / 352.1 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1231, allocations: 3.938 kB / 352.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1232, allocations: 7.984 kB / 352.1 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1232, allocations: 0 / 352.1 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.1233, allocations: 16 kB / 352.2 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1236, allocations: 257.7 kB / 352.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1238, allocations: 142.2 kB / 352.5 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.1239, allocations: 25.72 kB / 352.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1239, allocations: 7.984 kB / 352.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1239, allocations: 30.56 kB / 352.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.1239, allocations: 0 / 352.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002363/0.1242, allocations: 69.72 kB / 352.7 MB, free: 1.141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.1243, allocations: 81.11 kB / 352.8 MB, free: 1.043 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.1244, allocations: 141.2 kB / 352.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1244, allocations: 29.7 kB / 352.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.1245, allocations: 80.14 kB / 353 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.1245, allocations: 7.938 kB / 353 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.1245, allocations: 13.72 kB / 353 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1247, allocations: 322.8 kB / 353.3 MB, free: 440 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.1247, allocations: 8.031 kB / 353.3 MB, free: 432 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.1247, allocations: 31.42 kB / 353.4 MB, free: 388 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.94e-05/0.1248, allocations: 47.31 kB / 353.4 MB, free: 328 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1248, allocations: 3.938 kB / 353.4 MB, free: 324 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001264/0.125, allocations: 65.47 kB / 353.5 MB, free: 252 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.125, allocations: 4 kB / 353.5 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.125, allocations: 3.984 kB / 353.5 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.125, allocations: 4 kB / 353.5 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.165e-05/0.125, allocations: 0 / 353.5 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1251, allocations: 3.938 kB / 353.5 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.1251, allocations: 8.125 kB / 353.5 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1251, allocations: 0 / 353.5 MB, free: 228 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 8.786e-05/0.1252, allocations: 121.8 kB / 353.6 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.1253, allocations: 57.53 kB / 353.7 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.1253, allocations: 4.234 kB / 353.7 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1254, allocations: 7.984 kB / 353.7 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1254, allocations: 0 / 353.7 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1254, allocations: 3.984 kB / 353.7 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1256, allocations: 165.6 kB / 353.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1256, allocations: 7.984 kB / 353.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/0.1256, allocations: 4 kB / 353.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1256, allocations: 0 / 353.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1256, allocations: 4 kB / 353.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1256, allocations: 0 / 353.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1256, allocations: 0 / 353.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1258, allocations: 164.2 kB / 354 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.1259, allocations: 97.09 kB / 354.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1259, allocations: 0 / 354.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.692e-05/0.126, allocations: 3.984 kB / 354.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.126, allocations: 0 / 354.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.126, allocations: 4 kB / 354.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.552e-05/0.1261, allocations: 99.27 kB / 354.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1261, allocations: 0 / 354.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1263, allocations: 8 kB / 354.3 MB, free: 15.38 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.0005276/0.1268, allocations: 0.7092 MB / 355 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.127, allocations: 23.98 kB / 355 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.127, allocations: 0 / 355 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.1271, allocations: 8.188 kB / 355 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.1275, allocations: 34.42 kB / 355 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.1291, allocations: 1.308 MB / 356.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1295, allocations: 0.6887 MB / 357 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.135e-05/0.1296, allocations: 0 / 357 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.1296, allocations: 15.44 kB / 357 MB, free: 12.43 MB / 302.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1296, allocations: 0 / 357 MB, free: 12.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.1434, allocations: 1.285 MB / 358.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003394/0.1439, allocations: 219.4 kB / 358.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.069, allocations: 7.594 kB / 358.5 MB, free: 10.99 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