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.001308/0.001308, allocations: 117.1 kB / 16.63 MB, free: 6.812 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.001336/0.001337, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.466/1.466, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001219, allocations: 40.91 kB / 300.2 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1279, allocations: 49.45 MB / 349.7 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003439/0.1314, allocations: 1.557 MB / 351.2 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004573/0.1319, allocations: 143.5 kB / 351.4 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.132, allocations: 4 kB / 351.4 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.065e-05/0.1321, allocations: 0 / 351.4 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.1323, allocations: 3.938 kB / 351.4 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.1326, allocations: 37.91 kB / 351.4 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.89e-05/0.1327, allocations: 27.92 kB / 351.5 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1328, allocations: 19.97 kB / 351.5 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.1329, allocations: 11.94 kB / 351.5 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.673e-05/0.1329, allocations: 23.86 kB / 351.5 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.133, allocations: 4 kB / 351.5 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.133, allocations: 0 / 351.5 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.133, allocations: 11.98 kB / 351.5 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.1331, allocations: 23.81 kB / 351.5 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1333, allocations: 43.81 kB / 351.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1333, allocations: 0 / 351.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1333, allocations: 0 / 351.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1333, allocations: 0 / 351.6 MB, free: 2.734 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.0005199/0.1338, allocations: 371.5 kB / 352 MB, free: 2.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1339, allocations: 8.031 kB / 352 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.001e-05/0.1339, allocations: 34.75 kB / 352 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.134, allocations: 4.844 kB / 352 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1342, allocations: 200.1 kB / 352.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1342, allocations: 384 / 352.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1342, allocations: 4.375 kB / 352.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.1345, allocations: 121.5 kB / 352.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1345, allocations: 3.938 kB / 352.3 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1346, allocations: 4 kB / 352.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1346, allocations: 0 / 352.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.218e-05/0.1346, allocations: 11.94 kB / 352.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.135, allocations: 265.7 kB / 352.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1352, allocations: 142.2 kB / 352.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.1353, allocations: 25.77 kB / 352.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1353, allocations: 0 / 352.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.1353, allocations: 42.56 kB / 352.8 MB, free: 1.301 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/0.1353, allocations: 3.984 kB / 352.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002404/0.1356, allocations: 61.62 kB / 352.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.1357, allocations: 85.09 kB / 352.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1358, allocations: 137.2 kB / 353.1 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1358, allocations: 25.7 kB / 353.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.1359, allocations: 88.14 kB / 353.2 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.1359, allocations: 8.062 kB / 353.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.1359, allocations: 17.72 kB / 353.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1361, allocations: 318.8 kB / 353.5 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.1361, allocations: 4 kB / 353.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.146e-05/0.1361, allocations: 35.36 kB / 353.6 MB, free: 476 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.849e-05/0.1362, allocations: 43.38 kB / 353.6 MB, free: 420 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.1362, allocations: 7.938 kB / 353.6 MB, free: 412 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001254/0.1364, allocations: 61.52 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1364, allocations: 8 kB / 353.7 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1364, allocations: 128 / 353.7 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1364, allocations: 4 kB / 353.7 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.427e-05/0.1364, allocations: 4 kB / 353.7 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1365, allocations: 0 / 353.7 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.1365, allocations: 4 kB / 353.7 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1365, allocations: 0 / 353.7 MB, free: 324 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 9.604e-05/0.1366, allocations: 125.7 kB / 353.8 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.1367, allocations: 49.55 kB / 353.9 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.1367, allocations: 15.89 kB / 353.9 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1367, allocations: 4 kB / 353.9 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1368, allocations: 0 / 353.9 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1368, allocations: 4 kB / 353.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.137, allocations: 169.6 kB / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.137, allocations: 0 / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.137, allocations: 3.938 kB / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.137, allocations: 0 / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.137, allocations: 4 kB / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.137, allocations: 0 / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.137, allocations: 0 / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1372, allocations: 168.2 kB / 354.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.1373, allocations: 89.09 kB / 354.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1373, allocations: 3.984 kB / 354.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.1374, allocations: 4 kB / 354.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1374, allocations: 0 / 354.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1374, allocations: 4 kB / 354.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.644e-05/0.1375, allocations: 103.3 kB / 354.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1375, allocations: 4 kB / 354.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1377, allocations: 4 kB / 354.4 MB, free: 15.46 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.0004645/0.1382, allocations: 0.7053 MB / 355.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.1383, allocations: 32.34 kB / 355.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1384, allocations: 0 / 355.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.499e-05/0.1384, allocations: 4 kB / 355.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.1388, allocations: 22.42 kB / 355.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1401, allocations: 1.33 MB / 356.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1404, allocations: 0.6885 MB / 357.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.12e-05/0.1404, allocations: 4 kB / 357.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.1405, allocations: 15.44 kB / 357.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1405, allocations: 0 / 357.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.1537, allocations: 1.326 MB / 358.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004605/0.1543, allocations: 218.9 kB / 358.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.177, allocations: 4 kB / 358.8 MB, free: 11.05 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