Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.001227/0.001227, allocations: 179.4 kB / 16.77 MB, free: 4.898 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.474/1.474, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007379/0.0007379, allocations: 94.33 kB / 271.3 MB, free: 8.242 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.07894/0.07894, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004336, allocations: 16 kB / 392.6 MB, free: 66.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1085, allocations: 50.37 MB / 443 MB, free: 16.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001607/0.1102, allocations: 1.227 MB / 444.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003954/0.1106, allocations: 143.6 kB / 444.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1108, allocations: 0 / 444.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.1109, allocations: 7.938 kB / 444.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.277e-05/0.111, allocations: 7.938 kB / 444.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.1112, allocations: 27.97 kB / 444.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1113, allocations: 39.84 kB / 444.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1115, allocations: 16 kB / 444.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.297e-05/0.1115, allocations: 15.92 kB / 444.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.1116, allocations: 15.88 kB / 444.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1116, allocations: 0 / 444.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.1116, allocations: 4 kB / 444.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.1117, allocations: 15.86 kB / 444.5 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.1117, allocations: 45.58 kB / 444.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.801e-05/0.1118, allocations: 43.92 kB / 444.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1118, allocations: 3.938 kB / 444.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1118, allocations: 0 / 444.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1118, allocations: 0 / 444.6 MB, free: 14.5 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.0004557/0.1123, allocations: 371.4 kB / 444.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1123, allocations: 8.031 kB / 444.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1124, allocations: 12.83 kB / 445 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.1126, allocations: 200.1 kB / 445.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1126, allocations: 4.375 kB / 445.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1126, allocations: 4.375 kB / 445.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.1129, allocations: 126.4 kB / 445.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1129, allocations: 192 / 445.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1129, allocations: 11.94 kB / 445.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.113, allocations: 0 / 445.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1131, allocations: 43.91 kB / 445.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.1135, allocations: 370 kB / 445.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1136, allocations: 91.7 kB / 445.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.1137, allocations: 42.56 kB / 445.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.1137, allocations: 0 / 445.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1138, allocations: 38.56 kB / 445.9 MB, free: 13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1138, allocations: 4 kB / 445.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003207/0.1141, allocations: 117.5 kB / 446 MB, free: 12.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.1142, allocations: 115.1 kB / 446.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1143, allocations: 149.5 kB / 446.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.1143, allocations: 25.7 kB / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.1143, allocations: 96.06 kB / 446.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.1143, allocations: 0 / 446.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.1143, allocations: 0 / 446.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.1144, allocations: 322.8 kB / 446.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.1145, allocations: 19.98 kB / 446.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.423e-05/0.1145, allocations: 43.42 kB / 446.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1147, allocations: 71.34 kB / 446.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1147, allocations: 3.938 kB / 446.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001791/0.1148, allocations: 93.5 kB / 446.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1149, allocations: 4 kB / 446.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1149, allocations: 0 / 446.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1149, allocations: 7.938 kB / 446.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.829e-05/0.115, allocations: 15.94 kB / 446.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.115, allocations: 0 / 446.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.1151, allocations: 16.11 kB / 446.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1151, allocations: 0 / 446.9 MB, free: 11.82 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 0.0001137/0.1152, allocations: 130.6 kB / 447.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.1153, allocations: 45.61 kB / 447.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.1153, allocations: 19.81 kB / 447.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.1153, allocations: 4 kB / 447.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1153, allocations: 0 / 447.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1153, allocations: 0 / 447.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.1155, allocations: 177.6 kB / 447.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1155, allocations: 11.94 kB / 447.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.1156, allocations: 11.98 kB / 447.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1156, allocations: 0 / 447.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1156, allocations: 4 kB / 447.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1156, allocations: 0 / 447.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1156, allocations: 4 kB / 447.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.1158, allocations: 271.5 kB / 447.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1159, allocations: 93 kB / 447.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.1159, allocations: 0 / 447.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.116, allocations: 7.984 kB / 447.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.116, allocations: 11.94 kB / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.116, allocations: 0 / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.029e-05/0.1161, allocations: 115.2 kB / 447.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1161, allocations: 0 / 447.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.1163, allocations: 11.94 kB / 447.8 MB, free: 10.82 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.286e-05/0.1164, allocations: 99.25 kB / 447.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1166, allocations: 55.89 kB / 448 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1166, allocations: 4 kB / 448 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.272e-05/0.1166, allocations: 16 kB / 448 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.117, allocations: 32.27 kB / 448 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.1173, allocations: 228 kB / 448.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.1175, allocations: 0.6926 MB / 449 MB, free: 9.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.1175, allocations: 15.44 kB / 449 MB, free: 9.605 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1175, allocations: 0 / 449 MB, free: 9.605 MB / 298.7 MB Notification: Performance of Templates: time 0.002011/0.1195, allocations: 0.8232 MB / 449.8 MB, free: 8.785 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches