Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001684, allocations: 174.9 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.514/1.514, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007517/0.0007517, allocations: 85.36 kB / 271.3 MB, free: 8.254 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.08127/0.08127, allocations: 12.59 MB / 332.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005304, allocations: 16 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1036, allocations: 50.37 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001613/0.1052, allocations: 1.211 MB / 444.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003059/0.1056, allocations: 135.7 kB / 444.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.1057, allocations: 3.938 kB / 444.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.708e-05/0.1058, allocations: 8 kB / 444.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.1059, allocations: 3.938 kB / 444.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1061, allocations: 39.89 kB / 444.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.534e-05/0.1062, allocations: 35.86 kB / 444.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1063, allocations: 12 kB / 444.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.1063, allocations: 19.86 kB / 444.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.1064, allocations: 15.92 kB / 444.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1064, allocations: 4 kB / 444.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.1064, allocations: 0 / 444.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.1065, allocations: 15.92 kB / 444.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.1065, allocations: 41.58 kB / 444.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.727e-05/0.1066, allocations: 27.94 kB / 444.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1066, allocations: 0 / 444.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1066, allocations: 4 kB / 444.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1066, allocations: 0 / 444.5 MB, free: 14.53 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.0003717/0.107, allocations: 375.3 kB / 444.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.107, allocations: 8.031 kB / 444.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.1071, allocations: 8.844 kB / 444.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1072, allocations: 196.2 kB / 445.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1073, allocations: 384 / 445.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1073, allocations: 8.375 kB / 445.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.1075, allocations: 122.5 kB / 445.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1076, allocations: 192 / 445.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1076, allocations: 3.938 kB / 445.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.1076, allocations: 4 kB / 445.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.582e-05/0.1077, allocations: 31.92 kB / 445.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.108, allocations: 369.9 kB / 445.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.1082, allocations: 91.7 kB / 445.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.1082, allocations: 30.62 kB / 445.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-06/0.1082, allocations: 3.938 kB / 445.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.1083, allocations: 34.56 kB / 445.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1083, allocations: 4 kB / 445.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002713/0.1085, allocations: 101.5 kB / 445.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1086, allocations: 102.8 kB / 446 MB, free: 12.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.1087, allocations: 144.3 kB / 446.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.1087, allocations: 25.7 kB / 446.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.1087, allocations: 96.41 kB / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.287e-06/0.1088, allocations: 4 kB / 446.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.1088, allocations: 0 / 446.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.1088, allocations: 318.8 kB / 446.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.1089, allocations: 15.98 kB / 446.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.1089, allocations: 35.42 kB / 446.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.926e-05/0.109, allocations: 59.3 kB / 446.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.109, allocations: 3.938 kB / 446.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001174/0.1091, allocations: 85.52 kB / 446.8 MB, free: 12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1092, allocations: 4 kB / 446.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1092, allocations: 0 / 446.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1092, allocations: 4 kB / 446.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/0.1092, allocations: 0 / 446.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1092, allocations: 3.938 kB / 446.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.1093, allocations: 7.984 kB / 446.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1093, allocations: 4 kB / 446.8 MB, free: 11.97 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[1],sample.u[2],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.0001024/0.1094, allocations: 129.9 kB / 446.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.1095, allocations: 45.59 kB / 447 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.1095, allocations: 15.83 kB / 447 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.1095, allocations: 7.984 kB / 447 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1095, allocations: 0 / 447 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1095, allocations: 0 / 447 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.1097, allocations: 177.6 kB / 447.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1097, allocations: 4 kB / 447.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-06/0.1097, allocations: 4.031 kB / 447.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1097, allocations: 0 / 447.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1097, allocations: 3.938 kB / 447.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1097, allocations: 4 kB / 447.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1097, allocations: 0 / 447.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.1099, allocations: 267.5 kB / 447.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.11, allocations: 89 kB / 447.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.11, allocations: 0 / 447.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.1101, allocations: 8 kB / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.1101, allocations: 4 kB / 447.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1101, allocations: 0 / 447.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.653e-05/0.1102, allocations: 110.2 kB / 447.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1102, allocations: 3.938 kB / 447.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.1104, allocations: 11.98 kB / 447.7 MB, free: 11 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[1],sample.u[2],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 8.28e-05/0.1105, allocations: 99.19 kB / 447.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.1107, allocations: 47.84 kB / 447.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1107, allocations: 4 kB / 447.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.193e-05/0.1107, allocations: 16.3 kB / 447.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1111, allocations: 27.91 kB / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.1114, allocations: 224.1 kB / 448.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.1115, allocations: 0.6928 MB / 448.8 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.1116, allocations: 11.44 kB / 448.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1116, allocations: 3.938 kB / 448.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of Templates: time 0.001822/0.1134, allocations: 0.7966 MB / 449.6 MB, free: 9.008 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches