Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.00191, allocations: 176.2 kB / 16.63 MB, free: 6.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1068/0.1068, allocations: 12.6 MB / 283.7 MB, free: 8.695 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008141/0.0008142, allocations: 20 kB / 344.6 MB, free: 21.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1274, allocations: 50.37 MB / 394.9 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002292/0.1297, allocations: 1.227 MB / 396.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004775/0.1302, allocations: 143.6 kB / 396.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1304, allocations: 3.938 kB / 396.3 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.1305, allocations: 11.92 kB / 396.3 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.1306, allocations: 11.88 kB / 396.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1309, allocations: 35.97 kB / 396.3 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1311, allocations: 43.84 kB / 396.4 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1312, allocations: 8 kB / 396.4 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.1313, allocations: 19.91 kB / 396.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.1313, allocations: 15.88 kB / 396.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1314, allocations: 0 / 396.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.1314, allocations: 0 / 396.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.1314, allocations: 15.92 kB / 396.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.1315, allocations: 33.7 kB / 396.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.229e-05/0.1316, allocations: 35.92 kB / 396.5 MB, free: 1.168 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1316, allocations: 0 / 396.5 MB, free: 1.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1316, allocations: 3.938 kB / 396.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1316, allocations: 0 / 396.5 MB, free: 1.164 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.0005944/0.1322, allocations: 375.3 kB / 396.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1323, allocations: 8.031 kB / 396.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.1323, allocations: 7.906 kB / 396.9 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1326, allocations: 206.7 kB / 397.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1326, allocations: 0 / 397.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1326, allocations: 4 kB / 397.1 MB, free: 500 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.133, allocations: 121.9 kB / 397.2 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.133, allocations: 4 kB / 397.2 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1331, allocations: 0 / 397.2 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.1331, allocations: 7.984 kB / 397.2 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.1332, allocations: 43.91 kB / 397.3 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.1338, allocations: 381.8 kB / 397.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1339, allocations: 91.78 kB / 397.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.134, allocations: 46.55 kB / 397.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.134, allocations: 4 kB / 397.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1341, allocations: 34.56 kB / 397.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.1341, allocations: 0 / 397.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003747/0.1345, allocations: 117.8 kB / 397.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.1346, allocations: 110.8 kB / 398.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1347, allocations: 149.6 kB / 398.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1347, allocations: 25.7 kB / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.1348, allocations: 88.12 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.1348, allocations: 7.906 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.1349, allocations: 4 kB / 398.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.135, allocations: 314.8 kB / 398.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.1351, allocations: 31.97 kB / 398.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.1352, allocations: 39.42 kB / 398.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.1352, allocations: 23.98 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1352, allocations: 0 / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001843/0.1354, allocations: 89.55 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1355, allocations: 12.11 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1355, allocations: 0 / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1355, allocations: 4 kB / 398.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.1356, allocations: 8 kB / 398.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1356, allocations: 4 kB / 398.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.1357, allocations: 15.88 kB / 398.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1357, allocations: 4 kB / 398.9 MB, free: 14.54 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 (sample.u[2],sample.u[1],sample.y[2],sample.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.1359, allocations: 125.8 kB / 399 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.636e-05/0.136, allocations: 53.62 kB / 399 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.136, allocations: 15.86 kB / 399 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.136, allocations: 4 kB / 399.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.136, allocations: 0 / 399.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.136, allocations: 0 / 399.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.1363, allocations: 181.5 kB / 399.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1363, allocations: 0 / 399.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.1364, allocations: 11.98 kB / 399.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1364, allocations: 4.031 kB / 399.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.1364, allocations: 4 kB / 399.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.1364, allocations: 4 kB / 399.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1364, allocations: 0 / 399.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.1367, allocations: 275.5 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.1369, allocations: 96.94 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1369, allocations: 3.984 kB / 399.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.137, allocations: 11.98 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1371, allocations: 0 / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.1371, allocations: 4 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.331e-05/0.1372, allocations: 111.2 kB / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1372, allocations: 0 / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1375, allocations: 11.86 kB / 399.8 MB, free: 13.54 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 (sample.u[2],sample.u[1],sample.y[1],sample.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000125/0.1376, allocations: 95.25 kB / 399.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1378, allocations: 60.09 kB / 399.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1379, allocations: 0 / 399.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.529e-05/0.1379, allocations: 15.98 kB / 399.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.1384, allocations: 35.89 kB / 400 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.1388, allocations: 198.5 kB / 400.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1392, allocations: 0.6926 MB / 400.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.572e-05/0.1392, allocations: 7.984 kB / 400.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.1393, allocations: 11.44 kB / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1393, allocations: 4 kB / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of Templates: time 0.003378/0.1426, allocations: 0.5357 MB / 401.4 MB, free: 11.82 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches