Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.0009058/0.0009058, allocations: 172.8 kB / 16.76 MB, free: 4.938 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.316/1.316, allocations: 205 MB / 222.5 MB, free: 9.141 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.0007578/0.0007579, allocations: 100.6 kB / 270.5 MB, free: 8.668 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.06395/0.06395, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003357, allocations: 16.23 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07243/0.07278, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001476/0.07431, allocations: 1.231 MB / 442.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.07464, allocations: 147.5 kB / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.07472, allocations: 4 kB / 443.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.882e-05/0.07482, allocations: 7.922 kB / 443.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.372e-05/0.0749, allocations: 0 / 443.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.07513, allocations: 39.91 kB / 443.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.83e-05/0.07522, allocations: 43.8 kB / 443.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.07533, allocations: 15.98 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.07537, allocations: 7.938 kB / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.122e-05/0.07541, allocations: 19.91 kB / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.07543, allocations: 4 kB / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.07545, allocations: 0 / 443.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.07551, allocations: 11.94 kB / 443.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.07554, allocations: 27.8 kB / 443.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.761e-05/0.07562, allocations: 28.23 kB / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.07563, allocations: 0 / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.07563, allocations: 0 / 443.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.07564, allocations: 0 / 443.3 MB, free: 14.79 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.0003596/0.07601, allocations: 375.1 kB / 443.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.07605, allocations: 8.031 kB / 443.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.07609, allocations: 8.844 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.07624, allocations: 196.1 kB / 443.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.07626, allocations: 4.375 kB / 443.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.07628, allocations: 8.312 kB / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.0765, allocations: 122.4 kB / 444 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.07652, allocations: 192 / 444 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.07654, allocations: 7.938 kB / 444 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.07656, allocations: 4 kB / 444 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.07665, allocations: 35.97 kB / 444 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.07696, allocations: 365.9 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/0.07706, allocations: 83.72 kB / 444.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.07712, allocations: 38.62 kB / 444.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.07714, allocations: 0 / 444.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.07717, allocations: 30.56 kB / 444.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.07718, allocations: 0 / 444.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002544/0.07744, allocations: 109.8 kB / 444.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.07748, allocations: 102.8 kB / 444.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.07757, allocations: 144.3 kB / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.07758, allocations: 25.7 kB / 444.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.07762, allocations: 92.05 kB / 445 MB, free: 12.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.07763, allocations: 0 / 445 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.07766, allocations: 13.72 kB / 445 MB, free: 12.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.113e-05/0.0777, allocations: 322.9 kB / 445.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.07775, allocations: 15.98 kB / 445.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.172e-05/0.0778, allocations: 35.42 kB / 445.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.249e-05/0.07789, allocations: 63.3 kB / 445.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.0779, allocations: 0 / 445.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000123/0.07804, allocations: 81.45 kB / 445.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.07807, allocations: 12.12 kB / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.07808, allocations: 3.938 kB / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.07809, allocations: 0 / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.672e-05/0.07811, allocations: 4 kB / 445.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.07812, allocations: 0 / 445.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.07816, allocations: 4 kB / 445.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.07817, allocations: 4 kB / 445.5 MB, free: 12.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.745e-05/0.07828, allocations: 126.6 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.07835, allocations: 57.53 kB / 445.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.07838, allocations: 11.83 kB / 445.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.0784, allocations: 4 kB / 445.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.07841, allocations: 0 / 445.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.07842, allocations: 0 / 445.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.07858, allocations: 177.6 kB / 445.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.0786, allocations: 0 / 445.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-06/0.07861, allocations: 4 kB / 445.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.07862, allocations: 0 / 445.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.07863, allocations: 4 kB / 445.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.07863, allocations: 11.97 kB / 445.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.07864, allocations: 0 / 445.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.0788, allocations: 259.5 kB / 446.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.07884, allocations: 93 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.07886, allocations: 4 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.07896, allocations: 7.984 kB / 446.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.079, allocations: 0 / 446.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.07901, allocations: 4 kB / 446.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.536e-05/0.07906, allocations: 109.9 kB / 446.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07907, allocations: 0 / 446.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.07931, allocations: 11.92 kB / 446.4 MB, free: 11.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.096e-05/0.0794, allocations: 107.2 kB / 446.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.07953, allocations: 44.05 kB / 446.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.07955, allocations: 0 / 446.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.0796, allocations: 12 kB / 446.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.07998, allocations: 36.34 kB / 446.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.08027, allocations: 222.4 kB / 446.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.0804, allocations: 0.7004 MB / 447.5 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.08043, allocations: 7.438 kB / 447.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.08044, allocations: 4 kB / 447.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Templates: time 0.001873/0.08232, allocations: 0.7889 MB / 448.3 MB, free: 9.258 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches