Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",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.001104/0.001104, allocations: 110.9 kB / 16.62 MB, free: 6.961 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.00116/0.00116, allocations: 190 kB / 17.54 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.468/1.468, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 47.52 kB / 300.2 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 49.45 MB / 349.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00437/0.1368, allocations: 1.569 MB / 351.3 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005893/0.1374, allocations: 147.5 kB / 351.4 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.1376, allocations: 3.938 kB / 351.4 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.1378, allocations: 3.984 kB / 351.4 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.138, allocations: 7.938 kB / 351.4 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.1385, allocations: 31.91 kB / 351.4 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1387, allocations: 39.92 kB / 351.5 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.1389, allocations: 23.97 kB / 351.5 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.1e-05/0.1389, allocations: 15.88 kB / 351.5 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.139, allocations: 15.92 kB / 351.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.139, allocations: 4 kB / 351.5 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.258e-05/0.1391, allocations: 4 kB / 351.5 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1392, allocations: 15.92 kB / 351.6 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.1392, allocations: 23.81 kB / 351.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1395, allocations: 55.8 kB / 351.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1395, allocations: 0 / 351.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1395, allocations: 0 / 351.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1395, allocations: 4 kB / 351.6 MB, free: 2.676 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.0007787/0.1403, allocations: 375.3 kB / 352 MB, free: 2.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1404, allocations: 8.031 kB / 352 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.1404, allocations: 42.75 kB / 352.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.1405, allocations: 12.83 kB / 352.1 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1407, allocations: 188.2 kB / 352.3 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.1408, allocations: 4.375 kB / 352.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.1408, allocations: 384 / 352.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.1411, allocations: 118.5 kB / 352.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1411, allocations: 3.938 kB / 352.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1412, allocations: 4 kB / 352.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.1412, allocations: 4 kB / 352.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.494e-05/0.1413, allocations: 31.91 kB / 352.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.1419, allocations: 361.8 kB / 352.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.142, allocations: 91.75 kB / 352.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.1421, allocations: 34.58 kB / 352.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1421, allocations: 0 / 352.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1422, allocations: 34.55 kB / 352.9 MB, free: 1.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1422, allocations: 0 / 352.9 MB, free: 1.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003638/0.1425, allocations: 93.52 kB / 353 MB, free: 1.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1427, allocations: 110.8 kB / 353.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1428, allocations: 148.4 kB / 353.3 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1428, allocations: 25.7 kB / 353.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.1429, allocations: 84.14 kB / 353.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.143, allocations: 11.89 kB / 353.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.143, allocations: 26.08 kB / 353.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1432, allocations: 322.7 kB / 353.7 MB, free: 308 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.1432, allocations: 11.98 kB / 353.7 MB, free: 296 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.521e-05/0.1433, allocations: 35.42 kB / 353.8 MB, free: 248 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1434, allocations: 63.36 kB / 353.8 MB, free: 172 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1435, allocations: 0 / 353.8 MB, free: 172 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001435/0.1436, allocations: 69.52 kB / 353.9 MB, free: 96 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1436, allocations: 4 kB / 353.9 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1436, allocations: 4 kB / 353.9 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1437, allocations: 128 / 353.9 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.651e-05/0.1437, allocations: 7.938 kB / 353.9 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1437, allocations: 4 kB / 353.9 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.1438, allocations: 4 kB / 353.9 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1438, allocations: 4 kB / 353.9 MB, free: 68 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 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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.0002147/0.144, allocations: 129.8 kB / 354.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.1441, allocations: 49.59 kB / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.1441, allocations: 7.875 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.1442, allocations: 8.031 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1442, allocations: 3.984 kB / 354.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1442, allocations: 4 kB / 354.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1444, allocations: 169.6 kB / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1444, allocations: 4 kB / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-06/0.1444, allocations: 3.938 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1445, allocations: 0 / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1445, allocations: 8 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1445, allocations: 0 / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.1445, allocations: 0 / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.1448, allocations: 259.5 kB / 354.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.1449, allocations: 89.09 kB / 354.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1449, allocations: 3.984 kB / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.145, allocations: 4 kB / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.145, allocations: 7.938 kB / 354.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1451, allocations: 4 kB / 354.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.797e-05/0.1451, allocations: 111.2 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1451, allocations: 0 / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1454, allocations: 4 kB / 354.8 MB, free: 15.11 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0006575/0.1461, allocations: 0.7983 MB / 355.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1463, allocations: 43.86 kB / 355.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1463, allocations: 0 / 355.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.1463, allocations: 15.92 kB / 355.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.1468, allocations: 31.3 kB / 355.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1486, allocations: 1.477 MB / 357.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.1491, allocations: 0.6887 MB / 357.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.979e-05/0.1491, allocations: 11.97 kB / 357.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.1492, allocations: 19.44 kB / 357.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1492, allocations: 0 / 357.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.1652, allocations: 1.557 MB / 359.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000393/0.1657, allocations: 235.9 kB / 359.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.217, allocations: 2.969 kB / 359.7 MB, free: 10.22 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches