Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",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.00145/0.00145, allocations: 101.5 kB / 16.5 MB, free: 6.645 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.001889/0.001889, allocations: 194.8 kB / 17.42 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.494/1.494, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 47.2 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 49.45 MB / 349.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004037/0.1189, allocations: 1.929 MB / 351.4 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1212, allocations: 1.041 MB / 352.5 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.1214, allocations: 4 kB / 352.5 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007723/0.1222, allocations: 139.7 kB / 352.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.1227, allocations: 103.6 kB / 352.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.1234, allocations: 185.4 kB / 352.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.1237, allocations: 175.5 kB / 353.1 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1238, allocations: 29.53 kB / 353.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.124, allocations: 71.59 kB / 353.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.1241, allocations: 67.69 kB / 353.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1242, allocations: 8 kB / 353.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.1243, allocations: 47.95 kB / 353.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.1244, allocations: 43.78 kB / 353.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.102e-05/0.1245, allocations: 63.55 kB / 353.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1248, allocations: 187.7 kB / 353.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1248, allocations: 0 / 353.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1248, allocations: 4 kB / 353.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1249, allocations: 0 / 353.6 MB, free: 0.6406 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008854/0.1258, allocations: 0.5079 MB / 354.1 MB, free: 80 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1258, allocations: 8.031 kB / 354.1 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.1259, allocations: 42.69 kB / 354.1 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.1259, allocations: 20.73 kB / 354.2 MB, free: 0 / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.1263, allocations: 266.8 kB / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1264, allocations: 8.312 kB / 354.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1264, allocations: 7.938 kB / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.1268, allocations: 154.7 kB / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1268, allocations: 0 / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.1269, allocations: 0 / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1269, allocations: 7.938 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.127, allocations: 35.97 kB / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.1276, allocations: 362.3 kB / 355 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.1279, allocations: 107.9 kB / 355.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.278e-05/0.128, allocations: 46.56 kB / 355.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.128, allocations: 4 kB / 355.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.1282, allocations: 71.33 kB / 355.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1282, allocations: 0 / 355.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003923/0.1286, allocations: 145.4 kB / 355.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/0.1287, allocations: 136.5 kB / 355.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.129, allocations: 264.9 kB / 355.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1291, allocations: 33.69 kB / 355.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1292, allocations: 116.1 kB / 355.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.1292, allocations: 15.75 kB / 355.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/0.1293, allocations: 29.95 kB / 355.9 MB, free: 14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1295, allocations: 330.8 kB / 356.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.1296, allocations: 23.98 kB / 356.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.214e-05/0.1297, allocations: 65.94 kB / 356.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.1298, allocations: 84.25 kB / 356.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1298, allocations: 3.938 kB / 356.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002378/0.1301, allocations: 105.4 kB / 356.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1301, allocations: 11.94 kB / 356.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.1301, allocations: 0 / 356.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1302, allocations: 4.125 kB / 356.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.1302, allocations: 16 kB / 356.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1303, allocations: 0 / 356.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.1303, allocations: 15.83 kB / 356.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1304, allocations: 4 kB / 356.6 MB, free: 13.3 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001845/0.1306, allocations: 141.8 kB / 356.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.1307, allocations: 57.52 kB / 356.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.561e-05/0.1307, allocations: 29.77 kB / 356.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1307, allocations: 0 / 356.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1307, allocations: 4 kB / 356.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1308, allocations: 3.938 kB / 356.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.131, allocations: 225.5 kB / 357 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.131, allocations: 0 / 357 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.1311, allocations: 7.938 kB / 357.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.1311, allocations: 8.188 kB / 357.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1311, allocations: 0 / 357.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.1311, allocations: 8 kB / 357.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1311, allocations: 0 / 357.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.1314, allocations: 162.4 kB / 357.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1315, allocations: 100.9 kB / 357.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/0.1316, allocations: 8 kB / 357.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.1316, allocations: 7.984 kB / 357.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.1317, allocations: 11.92 kB / 357.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1317, allocations: 8 kB / 357.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000223/0.132, allocations: 196.5 kB / 357.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.132, allocations: 0 / 357.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1323, allocations: 24 kB / 357.6 MB, free: 12.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001736/0.134, allocations: 1.011 MB / 358.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.1343, allocations: 63.86 kB / 358.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.1343, allocations: 4 kB / 358.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.1344, allocations: 23.98 kB / 358.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.1349, allocations: 64.7 kB / 358.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.1377, allocations: 1.953 MB / 360.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.1382, allocations: 0.7244 MB / 361.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.1384, allocations: 29.52 kB / 361.4 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1385, allocations: 47.42 kB / 361.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1385, allocations: 0 / 361.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.1568, allocations: 4.283 MB / 365.8 MB, free: 4.137 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/0.1572, allocations: 266.4 kB / 366 MB, free: 3.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.366, allocations: 0 / 366 MB, free: 3.82 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches