Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001173/0.001173, allocations: 104 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 59.25 kB / 306.4 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1177, allocations: 50.53 MB / 356.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003225/0.1209, allocations: 1.581 MB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004486/0.1214, allocations: 143.5 kB / 358.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1216, allocations: 3.938 kB / 358.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.1218, allocations: 11.94 kB / 358.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.1219, allocations: 0 / 358.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1222, allocations: 39.91 kB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1224, allocations: 43.78 kB / 358.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1226, allocations: 15.98 kB / 358.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.1226, allocations: 15.92 kB / 358.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.1227, allocations: 19.86 kB / 358.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.1227, allocations: 8 kB / 358.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.1227, allocations: 0 / 358.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.1228, allocations: 15.98 kB / 358.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.1229, allocations: 23.8 kB / 358.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.123, allocations: 47.77 kB / 358.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.123, allocations: 0 / 358.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1231, allocations: 0 / 358.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1231, allocations: 0 / 358.8 MB, free: 12.42 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.0006514/0.1237, allocations: 371.5 kB / 359.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.927e-05/0.1238, allocations: 16.03 kB / 359.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.97e-05/0.1239, allocations: 38.73 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.1239, allocations: 12.75 kB / 359.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1242, allocations: 188.2 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1242, allocations: 384 / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1243, allocations: 4.375 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.1246, allocations: 114.5 kB / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.1247, allocations: 11.92 kB / 359.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1247, allocations: 4 kB / 359.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.1247, allocations: 7.922 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1248, allocations: 23.98 kB / 359.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.1254, allocations: 381.7 kB / 360 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1256, allocations: 71.78 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.1257, allocations: 34.62 kB / 360.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.1257, allocations: 4 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.1257, allocations: 34.56 kB / 360.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 3.466e-06/0.1258, allocations: 0 / 360.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003773/0.1261, allocations: 89.45 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1263, allocations: 119.2 kB / 360.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1264, allocations: 136.8 kB / 360.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1265, allocations: 25.7 kB / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.1265, allocations: 92.08 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.1266, allocations: 3.906 kB / 360.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.1266, allocations: 21.7 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1268, allocations: 322.8 kB / 360.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.1269, allocations: 11.98 kB / 360.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.1269, allocations: 47.36 kB / 361 MB, free: 9.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.127, allocations: 47.42 kB / 361 MB, free: 9.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1271, allocations: 4 kB / 361 MB, free: 9.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001746/0.1272, allocations: 73.45 kB / 361.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.1273, allocations: 8 kB / 361.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1273, allocations: 0 / 361.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1273, allocations: 0 / 361.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.521e-05/0.1273, allocations: 4 kB / 361.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1274, allocations: 0 / 361.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.1274, allocations: 11.98 kB / 361.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1274, allocations: 8.125 kB / 361.1 MB, free: 9.812 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 (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.0001918/0.1276, allocations: 125.7 kB / 361.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1277, allocations: 53.53 kB / 361.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.603e-05/0.1278, allocations: 15.83 kB / 361.3 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.1278, allocations: 3.984 kB / 361.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1278, allocations: 4 kB / 361.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1278, allocations: 0 / 361.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.1281, allocations: 173.6 kB / 361.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.1281, allocations: 4.031 kB / 361.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-06/0.1281, allocations: 3.938 kB / 361.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1281, allocations: 4 kB / 361.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1281, allocations: 0 / 361.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1281, allocations: 0 / 361.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1281, allocations: 0 / 361.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.1284, allocations: 271.4 kB / 361.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.1284, allocations: 93 kB / 361.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1285, allocations: 4 kB / 361.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.1286, allocations: 0 / 361.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.1286, allocations: 4 kB / 361.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1286, allocations: 0 / 361.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.249e-05/0.1287, allocations: 107.2 kB / 362 MB, free: 8.855 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1287, allocations: 0 / 362 MB, free: 8.855 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.129, allocations: 8 kB / 362 MB, free: 8.848 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.0005415/0.1295, allocations: 0.7907 MB / 362.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.1297, allocations: 43.92 kB / 362.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1297, allocations: 3.938 kB / 362.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.973e-05/0.1298, allocations: 11.98 kB / 362.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1302, allocations: 35.94 kB / 362.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1316, allocations: 1.465 MB / 364.3 MB, free: 6.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.1319, allocations: 0.6887 MB / 365 MB, free: 5.645 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.88e-05/0.132, allocations: 7.984 kB / 365 MB, free: 5.637 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.132, allocations: 15.44 kB / 365.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.132, allocations: 0 / 365.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.1438, allocations: 1.512 MB / 366.6 MB, free: 4.266 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.144, allocations: 241.4 kB / 366.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/1.994, allocations: 3.938 kB / 366.8 MB, free: 4.004 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches