Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001479/0.001478, allocations: 113.8 kB / 17.32 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001916/0.001916, allocations: 201.8 kB / 18.26 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59 kB / 306.6 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1273, allocations: 50.52 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.004227/0.1316, allocations: 1.603 MB / 358.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007898/0.1325, allocations: 143.5 kB / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.1327, allocations: 7.938 kB / 358.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.1328, allocations: 4 kB / 358.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.1331, allocations: 7.922 kB / 358.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.1335, allocations: 35.91 kB / 358.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1337, allocations: 39.86 kB / 358.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.1339, allocations: 27.97 kB / 358.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.134, allocations: 11.94 kB / 359 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.1341, allocations: 19.86 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.1341, allocations: 4 kB / 359 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.1341, allocations: 4 kB / 359 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.1342, allocations: 15.97 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.1343, allocations: 35.69 kB / 359 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1345, allocations: 47.81 kB / 359.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1345, allocations: 0 / 359.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1345, allocations: 4 kB / 359.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1345, allocations: 0 / 359.1 MB, free: 12.1 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.0006779/0.1352, allocations: 391.3 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/0.1353, allocations: 8.031 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.1354, allocations: 38.73 kB / 359.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.1354, allocations: 8.844 kB / 359.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.1358, allocations: 184.2 kB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1358, allocations: 4.375 kB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1358, allocations: 8.375 kB / 359.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.1362, allocations: 122.4 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1363, allocations: 7.938 kB / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1363, allocations: 3.938 kB / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.1363, allocations: 4 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1365, allocations: 39.97 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.1372, allocations: 373.8 kB / 360.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.1373, allocations: 83.77 kB / 360.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.059e-05/0.1374, allocations: 38.62 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1374, allocations: 0 / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.1375, allocations: 34.56 kB / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1375, allocations: 0 / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004101/0.1379, allocations: 109.4 kB / 360.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.635e-05/0.138, allocations: 106.8 kB / 360.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1382, allocations: 144.6 kB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1382, allocations: 29.7 kB / 360.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.1383, allocations: 96.05 kB / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1384, allocations: 0 / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.1384, allocations: 25.64 kB / 360.9 MB, free: 10 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1386, allocations: 318.8 kB / 361.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.1387, allocations: 15.98 kB / 361.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1388, allocations: 47.41 kB / 361.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.1389, allocations: 63.28 kB / 361.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.139, allocations: 0 / 361.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002244/0.1392, allocations: 85.45 kB / 361.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.1392, allocations: 8 kB / 361.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1392, allocations: 0 / 361.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.1393, allocations: 0 / 361.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1394, allocations: 11.98 kB / 361.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-05/0.1394, allocations: 4 kB / 361.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.1395, allocations: 7.984 kB / 361.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1395, allocations: 4.125 kB / 361.5 MB, free: 9.406 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[2],sample1.u[1],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.0003044/0.1398, allocations: 125.7 kB / 361.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.14, allocations: 57.53 kB / 361.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.14, allocations: 15.83 kB / 361.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/0.1401, allocations: 11.98 kB / 361.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1401, allocations: 0 / 361.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1401, allocations: 0 / 361.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.1404, allocations: 173.7 kB / 361.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1405, allocations: 32 / 361.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.1405, allocations: 19.97 kB / 361.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1406, allocations: 3.938 kB / 361.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1406, allocations: 0 / 361.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1406, allocations: 4 kB / 361.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1406, allocations: 0 / 361.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.141, allocations: 271.4 kB / 362.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.1411, allocations: 89 kB / 362.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1411, allocations: 11.98 kB / 362.2 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1412, allocations: 4 kB / 362.2 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.1413, allocations: 3.984 kB / 362.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1413, allocations: 0 / 362.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1414, allocations: 109.7 kB / 362.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1414, allocations: 0 / 362.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.1417, allocations: 8 kB / 362.3 MB, free: 8.41 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[2],sample1.u[1],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.0008228/0.1426, allocations: 0.8099 MB / 363.2 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.1428, allocations: 47.91 kB / 363.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1428, allocations: 4 kB / 363.2 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.1429, allocations: 11.98 kB / 363.2 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.1434, allocations: 38.33 kB / 363.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.145, allocations: 1.497 MB / 364.8 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1455, allocations: 0.6924 MB / 365.4 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.971e-05/0.1456, allocations: 11.98 kB / 365.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.1456, allocations: 19.44 kB / 365.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1456, allocations: 0 / 365.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.1603, allocations: 1.559 MB / 367 MB, free: 3.742 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.1605, allocations: 235.7 kB / 367.3 MB, free: 3.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.234, allocations: 0 / 367.3 MB, free: 3.484 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches