Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001073/0.001073, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 66.64 kB / 307.1 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003338/0.1223, allocations: 1.501 MB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004717/0.1228, allocations: 139.5 kB / 359.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.694e-05/0.1229, allocations: 4 kB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.331e-05/0.123, allocations: 3.938 kB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.1232, allocations: 11.92 kB / 359.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1235, allocations: 39.84 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.879e-05/0.1236, allocations: 27.92 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1237, allocations: 19.98 kB / 359.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.1237, allocations: 11.94 kB / 359.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.1238, allocations: 19.86 kB / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1238, allocations: 4 kB / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.1238, allocations: 0 / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.1239, allocations: 8 kB / 359.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.1239, allocations: 27.78 kB / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.124, allocations: 43.83 kB / 359.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1241, allocations: 0 / 359.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1241, allocations: 0 / 359.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1241, allocations: 4 kB / 359.4 MB, free: 12.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004097/0.1245, allocations: 363.5 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1245, allocations: 8.031 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.1246, allocations: 34.75 kB / 359.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.1246, allocations: 8.844 kB / 359.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.1248, allocations: 202.6 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1248, allocations: 4.375 kB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1248, allocations: 384 / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1251, allocations: 113.6 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1251, allocations: 3.938 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1251, allocations: 7.938 kB / 360.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1251, allocations: 0 / 360.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.509e-05/0.1252, allocations: 15.98 kB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.1255, allocations: 269.7 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1257, allocations: 138.2 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.1257, allocations: 29.78 kB / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1258, allocations: 7.984 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.1258, allocations: 30.56 kB / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1258, allocations: 0 / 360.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002276/0.126, allocations: 65.62 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.1261, allocations: 81.11 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1262, allocations: 137.7 kB / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1262, allocations: 29.83 kB / 361 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.1263, allocations: 84.14 kB / 361 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.1263, allocations: 3.938 kB / 361 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.1263, allocations: 21.72 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.1264, allocations: 314.8 kB / 361.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.1265, allocations: 8 kB / 361.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-05/0.1265, allocations: 35.42 kB / 361.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.421e-05/0.1266, allocations: 35.38 kB / 361.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1266, allocations: 3.938 kB / 361.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001082/0.1267, allocations: 73.53 kB / 361.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1267, allocations: 6.969 kB / 361.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1267, allocations: 4 kB / 361.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1268, allocations: 3.984 kB / 361.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.037e-05/0.1268, allocations: 0 / 361.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1268, allocations: 4 kB / 361.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.1268, allocations: 0 / 361.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1268, allocations: 11.92 kB / 361.6 MB, free: 9.703 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: 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.677e-05/0.1269, allocations: 122.8 kB / 361.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.127, allocations: 57.59 kB / 361.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.127, allocations: 11.91 kB / 361.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1271, allocations: 0 / 361.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1271, allocations: 0 / 361.7 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1271, allocations: 3.984 kB / 361.7 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.1272, allocations: 165.6 kB / 361.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1272, allocations: 0 / 361.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/0.1273, allocations: 3.984 kB / 361.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1273, allocations: 0 / 361.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.1273, allocations: 4 kB / 361.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1273, allocations: 4 kB / 361.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1273, allocations: 4 kB / 361.9 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.1275, allocations: 168.1 kB / 362.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.1275, allocations: 85.09 kB / 362.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.1275, allocations: 8 kB / 362.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.1276, allocations: 7.984 kB / 362.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.1276, allocations: 384 / 362.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1276, allocations: 4 kB / 362.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.1277, allocations: 106.2 kB / 362.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1277, allocations: 0 / 362.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.1279, allocations: 7.906 kB / 362.3 MB, free: 8.848 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.0003869/0.1283, allocations: 0.7015 MB / 363 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1285, allocations: 27.92 kB / 363 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1285, allocations: 0 / 363 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.391e-05/0.1285, allocations: 4 kB / 363 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1289, allocations: 24.02 kB / 363.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.13, allocations: 1.31 MB / 364.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1302, allocations: 0.6885 MB / 365.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.847e-05/0.1302, allocations: 0 / 365.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.1303, allocations: 15.44 kB / 365.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1303, allocations: 0 / 365.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1567/0.287, allocations: 1.425 MB / 366.5 MB, free: 4.586 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/7.668, allocations: 11.44 kB / 366.5 MB, free: 4.578 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches