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.001374/0.001374, allocations: 176.6 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.514/1.514, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.000821/0.0008208, allocations: 94.3 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.08499/0.08499, allocations: 12.59 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004289, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09098, allocations: 50.37 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001533/0.09257, allocations: 1.214 MB / 443.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003696/0.09297, allocations: 147.6 kB / 443.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.09311, allocations: 0 / 443.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.09323, allocations: 11.92 kB / 443.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.09338, allocations: 4 kB / 443.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.09366, allocations: 27.91 kB / 443.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.194e-05/0.09376, allocations: 35.86 kB / 443.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.09389, allocations: 15.98 kB / 443.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.09393, allocations: 15.92 kB / 443.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.437e-05/0.09397, allocations: 11.94 kB / 443.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.094, allocations: 0 / 443.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.09402, allocations: 4 kB / 443.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.09407, allocations: 15.91 kB / 443.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.0941, allocations: 41.58 kB / 443.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.898e-05/0.09418, allocations: 27.95 kB / 443.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.09419, allocations: 0 / 443.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.0942, allocations: 0 / 443.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.09421, allocations: 4 kB / 443.9 MB, free: 14.87 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.0004264/0.09464, allocations: 375.2 kB / 444.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.0947, allocations: 12.03 kB / 444.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.09474, allocations: 3.906 kB / 444.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.09493, allocations: 190.9 kB / 444.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.09496, allocations: 0 / 444.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.09498, allocations: 7.953 kB / 444.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.09524, allocations: 121.9 kB / 444.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.09526, allocations: 0 / 444.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.09528, allocations: 0 / 444.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.09531, allocations: 7.984 kB / 444.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.324e-05/0.09541, allocations: 31.92 kB / 444.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.09578, allocations: 373.8 kB / 445 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.09589, allocations: 83.78 kB / 445.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.09595, allocations: 34.64 kB / 445.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.09597, allocations: 3.984 kB / 445.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.09599, allocations: 38.56 kB / 445.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.096, allocations: 0 / 445.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003059/0.09631, allocations: 97.52 kB / 445.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.09636, allocations: 106.8 kB / 445.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.09646, allocations: 144.9 kB / 445.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.09648, allocations: 26.08 kB / 445.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.09653, allocations: 96.12 kB / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.09655, allocations: 4 kB / 445.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.09656, allocations: 0 / 445.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.09661, allocations: 326.7 kB / 446 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.583e-05/0.09666, allocations: 15.98 kB / 446 MB, free: 12.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.34e-05/0.09671, allocations: 35.44 kB / 446 MB, free: 12.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.09676, allocations: 15.98 kB / 446.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.09677, allocations: 0 / 446.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.0969, allocations: 85.55 kB / 446.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.09693, allocations: 8 kB / 446.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.09695, allocations: 0 / 446.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.09697, allocations: 0 / 446.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.252e-05/0.097, allocations: 11.94 kB / 446.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.09701, allocations: 0 / 446.2 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.09706, allocations: 7.984 kB / 446.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.09707, allocations: 4 kB / 446.2 MB, free: 12.36 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.0001296/0.09721, allocations: 130.7 kB / 446.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.09729, allocations: 49.53 kB / 446.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.09737, allocations: 19.81 kB / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.0974, allocations: 4 kB / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.09741, allocations: 0 / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.09742, allocations: 0 / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.0976, allocations: 173.6 kB / 446.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.09761, allocations: 0 / 446.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-06/0.09763, allocations: 4 kB / 446.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.09764, allocations: 0 / 446.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.09765, allocations: 0 / 446.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.09766, allocations: 8.031 kB / 446.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09766, allocations: 0 / 446.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.09784, allocations: 259.5 kB / 446.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.09789, allocations: 97.09 kB / 446.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.09792, allocations: 7.984 kB / 446.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.09801, allocations: 8 kB / 446.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.09806, allocations: 0 / 446.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.09807, allocations: 7.984 kB / 446.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.64e-05/0.09812, allocations: 103.3 kB / 447 MB, free: 11.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.09813, allocations: 0 / 447 MB, free: 11.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.09838, allocations: 4 kB / 447 MB, free: 11.39 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 9.011e-05/0.09848, allocations: 99.25 kB / 447.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.09864, allocations: 47.84 kB / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.09866, allocations: 0 / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.09871, allocations: 19.92 kB / 447.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.0991, allocations: 24.34 kB / 447.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.0994, allocations: 224.2 kB / 447.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.09952, allocations: 0.6926 MB / 448.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.09955, allocations: 15.44 kB / 448.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of SimCode: time 4.1e-07/0.09956, allocations: 0 / 448.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Templates: time 0.002047/0.1016, allocations: 0.7926 MB / 448.9 MB, free: 9.41 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