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.0009697/0.0009699, allocations: 173.7 kB / 16.8 MB, free: 5.012 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.415/1.415, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0007697/0.0007697, allocations: 93.47 kB / 271.3 MB, free: 8.23 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.07034/0.07034, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 11.98 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07145/0.07181, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001322/0.07318, allocations: 1.231 MB / 444.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002771/0.07347, allocations: 139.6 kB / 445.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.07355, allocations: 3.938 kB / 445.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.265e-05/0.07363, allocations: 0 / 445.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.07371, allocations: 11.92 kB / 445.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.07391, allocations: 35.91 kB / 445.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.07399, allocations: 35.86 kB / 445.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.07409, allocations: 19.98 kB / 445.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.47e-05/0.07412, allocations: 7.938 kB / 445.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.783e-05/0.07415, allocations: 15.92 kB / 445.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.07417, allocations: 4 kB / 445.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.07419, allocations: 0 / 445.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.07425, allocations: 15.92 kB / 445.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.07429, allocations: 53.5 kB / 445.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.326e-05/0.07436, allocations: 32.23 kB / 445.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.07437, allocations: 0 / 445.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.07438, allocations: 0 / 445.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.07439, allocations: 0 / 445.3 MB, free: 13.8 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.0003688/0.07476, allocations: 371.1 kB / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.07481, allocations: 8.031 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.07484, allocations: 8.844 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.07498, allocations: 200.7 kB / 445.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.07501, allocations: 4.375 kB / 445.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.07503, allocations: 4.375 kB / 445.9 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.07524, allocations: 126.4 kB / 446 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.07526, allocations: 192 / 446 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.07528, allocations: 3.938 kB / 446 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.07531, allocations: 8 kB / 446 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.0754, allocations: 35.91 kB / 446 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.07571, allocations: 358 kB / 446.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.0758, allocations: 79.72 kB / 446.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.07586, allocations: 38.56 kB / 446.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.07588, allocations: 4 kB / 446.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.07591, allocations: 34.55 kB / 446.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.07591, allocations: 0 / 446.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002612/0.07618, allocations: 105.8 kB / 446.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.07623, allocations: 110.8 kB / 446.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.07632, allocations: 139.7 kB / 446.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.07633, allocations: 25.7 kB / 446.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.949e-05/0.07637, allocations: 92.05 kB / 447 MB, free: 11.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.914e-06/0.07638, allocations: 0 / 447 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.07639, allocations: 0 / 447 MB, free: 11.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.07644, allocations: 322.8 kB / 447.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.195e-05/0.07649, allocations: 16 kB / 447.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.235e-05/0.07654, allocations: 35.42 kB / 447.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.249e-05/0.07663, allocations: 67.28 kB / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.07664, allocations: 0 / 447.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000146/0.07679, allocations: 73.53 kB / 447.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.07681, allocations: 4 kB / 447.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.07682, allocations: 12.06 kB / 447.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.07684, allocations: 3.984 kB / 447.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.705e-05/0.07686, allocations: 3.938 kB / 447.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.07687, allocations: 4 kB / 447.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.07692, allocations: 4 kB / 447.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.07693, allocations: 0 / 447.5 MB, free: 11.25 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 0.0001116/0.07704, allocations: 126.6 kB / 447.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.07712, allocations: 49.61 kB / 447.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.07715, allocations: 19.84 kB / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.07717, allocations: 0 / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.07718, allocations: 4 kB / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.07718, allocations: 0 / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.07735, allocations: 177.6 kB / 447.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.07736, allocations: 0 / 447.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-06/0.07737, allocations: 3.938 kB / 447.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.07738, allocations: 11.92 kB / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.07739, allocations: 4 kB / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.0774, allocations: 0 / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0774, allocations: 0 / 447.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.07756, allocations: 259.5 kB / 448.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.07761, allocations: 93 kB / 448.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.07763, allocations: 4 kB / 448.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.07772, allocations: 4 kB / 448.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.07776, allocations: 11.92 kB / 448.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.07777, allocations: 0 / 448.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.07782, allocations: 105.9 kB / 448.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07782, allocations: 4 kB / 448.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.07806, allocations: 7.938 kB / 448.4 MB, free: 10.28 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 6.899e-05/0.07813, allocations: 103.2 kB / 448.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.07827, allocations: 48.06 kB / 448.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.07828, allocations: 0 / 448.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.07833, allocations: 19.98 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.07871, allocations: 31.94 kB / 448.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.07899, allocations: 228.2 kB / 448.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.07911, allocations: 0.6926 MB / 449.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.07914, allocations: 11.44 kB / 449.5 MB, free: 9.074 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.07915, allocations: 0 / 449.5 MB, free: 9.074 MB / 298.7 MB Notification: Performance of Templates: time 0.001667/0.08082, allocations: 0.798 MB / 450.3 MB, free: 8.277 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