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.001585/0.001585, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 65.05 kB / 306.6 MB, free: 0.8594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1211, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003354/0.1245, allocations: 1.574 MB / 358.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004294/0.1249, allocations: 147.5 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.1251, allocations: 0 / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.1252, allocations: 3.938 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.518e-05/0.1253, allocations: 4 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1256, allocations: 35.91 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.1257, allocations: 55.78 kB / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1258, allocations: 23.91 kB / 358.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.1259, allocations: 15.92 kB / 358.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.1259, allocations: 15.92 kB / 359 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.126, allocations: 4 kB / 359 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.126, allocations: 4 kB / 359 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.126, allocations: 11.94 kB / 359 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.1261, allocations: 31.8 kB / 359 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.1262, allocations: 55.75 kB / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1262, allocations: 0 / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1262, allocations: 0 / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1262, allocations: 0 / 359.1 MB, free: 12.34 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.0005318/0.1268, allocations: 367.4 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1268, allocations: 8.031 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.1269, allocations: 42.73 kB / 359.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.1269, allocations: 12.75 kB / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1271, allocations: 192.2 kB / 359.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1271, allocations: 4.375 kB / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1272, allocations: 384 / 359.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.1274, allocations: 114.5 kB / 359.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1275, allocations: 7.922 kB / 359.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1275, allocations: 4 kB / 359.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.1275, allocations: 11.98 kB / 359.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.1276, allocations: 23.98 kB / 359.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.1281, allocations: 365.7 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1282, allocations: 83.78 kB / 360.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.1283, allocations: 34.62 kB / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1283, allocations: 0 / 360.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.1284, allocations: 34.56 kB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.1284, allocations: 3.938 kB / 360.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003009/0.1287, allocations: 93.45 kB / 360.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.1287, allocations: 110.8 kB / 360.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1289, allocations: 140.5 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1289, allocations: 26.08 kB / 360.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.1289, allocations: 92.12 kB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.129, allocations: 7.906 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.129, allocations: 21.7 kB / 360.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1291, allocations: 318.8 kB / 361.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.1292, allocations: 11.98 kB / 361.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.1293, allocations: 47.3 kB / 361.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1294, allocations: 55.42 kB / 361.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1294, allocations: 0 / 361.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.1295, allocations: 77.52 kB / 361.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1296, allocations: 4 kB / 361.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1296, allocations: 4 kB / 361.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1296, allocations: 0 / 361.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-05/0.1296, allocations: 0 / 361.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1296, allocations: 4 kB / 361.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.1297, allocations: 3.984 kB / 361.3 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1297, allocations: 8 kB / 361.3 MB, free: 9.734 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.0001897/0.1299, allocations: 125.8 kB / 361.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.13, allocations: 57.53 kB / 361.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.13, allocations: 11.83 kB / 361.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.13, allocations: 7.984 kB / 361.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.13, allocations: 0 / 361.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1301, allocations: 4 kB / 361.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.1303, allocations: 169.6 kB / 361.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1303, allocations: 8 kB / 361.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-06/0.1303, allocations: 0 / 361.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1303, allocations: 0 / 361.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1303, allocations: 4 kB / 361.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1304, allocations: 4.031 kB / 361.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1304, allocations: 0 / 361.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1306, allocations: 263.4 kB / 362 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.1307, allocations: 89 kB / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1307, allocations: 4 kB / 362.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.1308, allocations: 11.94 kB / 362.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1308, allocations: 4 kB / 362.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1308, allocations: 0 / 362.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.006e-05/0.1309, allocations: 110.1 kB / 362.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1309, allocations: 0 / 362.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1312, allocations: 4 kB / 362.2 MB, free: 8.77 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.0007599/0.132, allocations: 0.7944 MB / 363 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.1321, allocations: 40.11 kB / 363 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1321, allocations: 256 / 363 MB, free: 7.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.1322, allocations: 15.98 kB / 363.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.1327, allocations: 35.88 kB / 363.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1343, allocations: 1.47 MB / 364.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1346, allocations: 0.6924 MB / 365.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.001e-05/0.1347, allocations: 7.984 kB / 365.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.1348, allocations: 15.44 kB / 365.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1348, allocations: 0 / 365.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.1466, allocations: 1.558 MB / 366.8 MB, free: 4.16 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.1468, allocations: 239.8 kB / 367.1 MB, free: 3.898 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.13, allocations: 4 kB / 367.1 MB, free: 3.895 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