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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001071, allocations: 175.4 kB / 16.45 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 222.6 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007115/0.0007116, allocations: 91.8 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06902/0.06902, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006308/0.0006309, allocations: 12 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1118, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001895/0.1137, allocations: 1.219 MB / 444.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.1142, allocations: 159.6 kB / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.1143, allocations: 0 / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.303e-05/0.1144, allocations: 3.938 kB / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.587e-05/0.1145, allocations: 11.92 kB / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.1147, allocations: 39.91 kB / 444.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1149, allocations: 31.86 kB / 444.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.115, allocations: 15.98 kB / 444.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.115, allocations: 7.938 kB / 444.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.1151, allocations: 19.92 kB / 444.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1151, allocations: 0 / 444.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.1151, allocations: 0 / 444.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.1152, allocations: 15.92 kB / 444.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.1152, allocations: 37.64 kB / 444.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.548e-05/0.1153, allocations: 31.94 kB / 444.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1153, allocations: 0 / 444.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1153, allocations: 0 / 444.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.1153, allocations: 0 / 444.6 MB, free: 14.19 MB / 298.7 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.0004188/0.1158, allocations: 383.2 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1158, allocations: 8.031 kB / 445 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.1159, allocations: 11.91 kB / 445 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1161, allocations: 194.8 kB / 445.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1161, allocations: 4 kB / 445.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1161, allocations: 11.97 kB / 445.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.1164, allocations: 129.8 kB / 445.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1164, allocations: 3.938 kB / 445.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1165, allocations: 0 / 445.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.1165, allocations: 4 kB / 445.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.1166, allocations: 39.97 kB / 445.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.117, allocations: 377.8 kB / 445.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.1171, allocations: 95.77 kB / 445.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.1172, allocations: 42.62 kB / 445.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.1172, allocations: 0 / 445.9 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.1173, allocations: 38.56 kB / 445.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1173, allocations: 0 / 445.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003119/0.1176, allocations: 125.8 kB / 446.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1176, allocations: 102.8 kB / 446.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1177, allocations: 153.5 kB / 446.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1178, allocations: 25.7 kB / 446.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.1178, allocations: 88.08 kB / 446.4 MB, free: 12.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.1178, allocations: 11.91 kB / 446.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.1178, allocations: 0 / 446.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.1179, allocations: 314.8 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.118, allocations: 24.02 kB / 446.8 MB, free: 11.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.118, allocations: 43.42 kB / 446.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.59e-05/0.1181, allocations: 27.92 kB / 446.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1181, allocations: 0 / 446.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001559/0.1183, allocations: 93.69 kB / 446.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1183, allocations: 4 kB / 446.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1183, allocations: 0 / 446.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1183, allocations: 4 kB / 446.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.1184, allocations: 11.98 kB / 446.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1184, allocations: 4 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.1185, allocations: 7.953 kB / 447 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1185, allocations: 4 kB / 447 MB, free: 11.56 MB / 298.7 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 9.705e-05/0.1186, allocations: 138.7 kB / 447.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.1187, allocations: 45.59 kB / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.1187, allocations: 15.83 kB / 447.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.1187, allocations: 4 kB / 447.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1187, allocations: 0 / 447.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1187, allocations: 3.984 kB / 447.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1189, allocations: 177.5 kB / 447.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1189, allocations: 7.938 kB / 447.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.119, allocations: 12.03 kB / 447.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.119, allocations: 0 / 447.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.119, allocations: 0 / 447.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.119, allocations: 7.984 kB / 447.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.119, allocations: 0 / 447.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.1192, allocations: 275.5 kB / 447.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.1193, allocations: 96.94 kB / 447.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1193, allocations: 0 / 447.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1194, allocations: 8 kB / 447.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.1194, allocations: 8.062 kB / 447.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1194, allocations: 4 kB / 447.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.468e-05/0.1195, allocations: 107.3 kB / 447.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1195, allocations: 0 / 447.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.1197, allocations: 11.86 kB / 447.9 MB, free: 10.55 MB / 298.7 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 7.064e-05/0.1198, allocations: 103.2 kB / 448 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.12, allocations: 60.02 kB / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.12, allocations: 0 / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.801e-05/0.1201, allocations: 19.92 kB / 448 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1204, allocations: 28.02 kB / 448.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.1207, allocations: 212.5 kB / 448.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.1208, allocations: 0.7004 MB / 449 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.1208, allocations: 11.44 kB / 449 MB, free: 9.348 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1209, allocations: 0 / 449 MB, free: 9.348 MB / 298.7 MB Notification: Performance of Templates: time 0.001631/0.1225, allocations: 0.8213 MB / 449.8 MB, free: 8.527 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (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) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/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