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.0009435/0.0009437, allocations: 178.9 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.316/1.316, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.000816/0.0008161, allocations: 96.92 kB / 270.9 MB, free: 8.344 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.06591/0.06591, allocations: 12.59 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003886, allocations: 20 kB / 392.7 MB, free: 66.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.07825, allocations: 50.38 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001322/0.07962, allocations: 1.211 MB / 444.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.07993, allocations: 143.6 kB / 444.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.08001, allocations: 4 kB / 444.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.299e-05/0.08009, allocations: 3.938 kB / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.08018, allocations: 7.922 kB / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.08039, allocations: 31.97 kB / 444.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.119e-05/0.08048, allocations: 43.84 kB / 444.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.08058, allocations: 7.984 kB / 444.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.703e-05/0.08061, allocations: 15.94 kB / 444.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.753e-05/0.08064, allocations: 11.92 kB / 444.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.08066, allocations: 0 / 444.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.08068, allocations: 4 kB / 444.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.08072, allocations: 11.94 kB / 444.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.08075, allocations: 41.64 kB / 444.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.873e-05/0.08081, allocations: 35.92 kB / 444.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.08082, allocations: 0 / 444.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.08083, allocations: 0 / 444.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.08083, allocations: 0 / 444.6 MB, free: 14.2 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.0003325/0.08117, allocations: 371.2 kB / 445 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.08121, allocations: 8.031 kB / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.08125, allocations: 15.84 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.0814, allocations: 194.9 kB / 445.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.08143, allocations: 4 kB / 445.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.08145, allocations: 11.89 kB / 445.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.0817, allocations: 117.9 kB / 445.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.08172, allocations: 0 / 445.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.08174, allocations: 4 kB / 445.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.08177, allocations: 8 kB / 445.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/0.08186, allocations: 27.98 kB / 445.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.08218, allocations: 373.9 kB / 445.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.0823, allocations: 79.78 kB / 445.8 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.08236, allocations: 34.62 kB / 445.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.08238, allocations: 4 kB / 445.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.0824, allocations: 30.56 kB / 445.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.08241, allocations: 0 / 445.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002488/0.08266, allocations: 109.8 kB / 446 MB, free: 12.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.08271, allocations: 106.8 kB / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/0.0828, allocations: 140.9 kB / 446.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.08282, allocations: 25.7 kB / 446.2 MB, free: 12.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.08285, allocations: 92.12 kB / 446.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.08287, allocations: 0 / 446.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.08288, allocations: 3.938 kB / 446.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.08293, allocations: 318.8 kB / 446.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.08298, allocations: 20.02 kB / 446.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.389e-05/0.08303, allocations: 35.42 kB / 446.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.08309, allocations: 27.92 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.08309, allocations: 0 / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.08322, allocations: 73.53 kB / 446.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.08324, allocations: 11.98 kB / 446.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.08325, allocations: 0 / 446.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.08327, allocations: 0 / 446.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-05/0.08329, allocations: 4 kB / 446.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.0833, allocations: 4.125 kB / 446.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.58e-05/0.08334, allocations: 4 kB / 446.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.08336, allocations: 0 / 446.8 MB, free: 11.7 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 9.682e-05/0.08346, allocations: 129.7 kB / 446.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.08353, allocations: 53.59 kB / 447 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.08356, allocations: 11.83 kB / 447 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.08358, allocations: 7.938 kB / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.08359, allocations: 0 / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.0836, allocations: 4.031 kB / 447 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.08376, allocations: 181.6 kB / 447.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.08377, allocations: 0 / 447.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-06/0.08378, allocations: 7.984 kB / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.08379, allocations: 0 / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.0838, allocations: 0 / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.0838, allocations: 0 / 447.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.08381, allocations: 7.938 kB / 447.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.08396, allocations: 251.6 kB / 447.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.08401, allocations: 101.1 kB / 447.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.08403, allocations: 7.984 kB / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.08412, allocations: 7.984 kB / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.08416, allocations: 0 / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.08417, allocations: 8 kB / 447.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.426e-05/0.08422, allocations: 109.8 kB / 447.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08423, allocations: 0 / 447.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.08446, allocations: 11.94 kB / 447.7 MB, free: 10.71 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 6.399e-05/0.08453, allocations: 107.1 kB / 447.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.08467, allocations: 36.17 kB / 447.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.08468, allocations: 0 / 447.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.08473, allocations: 23.92 kB / 447.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.08511, allocations: 24.02 kB / 447.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.08539, allocations: 212.4 kB / 448.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.08552, allocations: 0.7004 MB / 448.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.08555, allocations: 15.42 kB / 448.8 MB, free: 9.52 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.08555, allocations: 0 / 448.8 MB, free: 9.52 MB / 298.7 MB Notification: Performance of Templates: time 0.001714/0.08727, allocations: 0.794 MB / 449.6 MB, free: 8.727 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