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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007059/0.0007059, allocations: 102.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007388/0.0007388, allocations: 179.2 kB / 16.96 MB, free: 6.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06041/0.06041, allocations: 12.61 MB / 284 MB, free: 8.594 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006565/0.0006569, allocations: 20 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07533/0.076, allocations: 50.38 MB / 395.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001548/0.07758, allocations: 1.22 MB / 396.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003142/0.07792, allocations: 147.5 kB / 396.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.662e-05/0.07801, allocations: 4 kB / 396.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.817e-05/0.07808, allocations: 3.938 kB / 396.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.07815, allocations: 0 / 396.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.07836, allocations: 39.91 kB / 397 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.07845, allocations: 43.78 kB / 397 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.07855, allocations: 16 kB / 397 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.636e-05/0.07859, allocations: 15.86 kB / 397 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.773e-05/0.07862, allocations: 15.92 kB / 397.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.07864, allocations: 0 / 397.1 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.07865, allocations: 4 kB / 397.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.0787, allocations: 11.92 kB / 397.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.07876, allocations: 49.52 kB / 397.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.367e-05/0.07884, allocations: 52.08 kB / 397.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.07885, allocations: 0 / 397.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.07885, allocations: 0 / 397.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.07886, allocations: 0 / 397.2 MB, free: 0.7852 MB / 286.1 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.0003528/0.07922, allocations: 367.1 kB / 397.5 MB, free: 384 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.07926, allocations: 8.031 kB / 397.5 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.07929, allocations: 8.844 kB / 397.5 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.07946, allocations: 201.3 kB / 397.7 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.07949, allocations: 4.375 kB / 397.7 MB, free: 124 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.07951, allocations: 4.375 kB / 397.7 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.07976, allocations: 122.4 kB / 397.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.07978, allocations: 192 / 397.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.07979, allocations: 7.938 kB / 397.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.07982, allocations: 8 kB / 397.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/0.07992, allocations: 27.98 kB / 397.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.08028, allocations: 369.9 kB / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.08039, allocations: 79.72 kB / 398.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.08046, allocations: 34.62 kB / 398.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.08048, allocations: 4 kB / 398.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.0805, allocations: 38.56 kB / 398.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.08051, allocations: 0 / 398.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002766/0.08079, allocations: 101.8 kB / 398.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.08086, allocations: 106.8 kB / 398.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.08098, allocations: 137 kB / 398.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.081, allocations: 25.7 kB / 398.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.08106, allocations: 96.03 kB / 398.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.08107, allocations: 7.938 kB / 398.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.0811, allocations: 13.72 kB / 398.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.0812, allocations: 318.8 kB / 399.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/0.08126, allocations: 12 kB / 399.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.036e-05/0.08132, allocations: 39.42 kB / 399.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.08143, allocations: 63.3 kB / 399.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.08144, allocations: 7.922 kB / 399.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000133/0.08158, allocations: 77.47 kB / 399.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.0816, allocations: 4 kB / 399.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.08161, allocations: 4.125 kB / 399.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.08163, allocations: 4 kB / 399.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.619e-05/0.08165, allocations: 3.984 kB / 399.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.08166, allocations: 0 / 399.4 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.0817, allocations: 8 kB / 399.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.08171, allocations: 4 kB / 399.4 MB, free: 14.21 MB / 302.1 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.000119/0.08184, allocations: 129.8 kB / 399.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.08192, allocations: 45.55 kB / 399.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.08195, allocations: 19.89 kB / 399.6 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.08197, allocations: 4 kB / 399.6 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.08198, allocations: 0 / 399.6 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.08199, allocations: 0 / 399.6 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.0822, allocations: 173.6 kB / 399.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.08221, allocations: 4 kB / 399.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-06/0.08222, allocations: 0 / 399.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.08222, allocations: 0 / 399.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.08224, allocations: 3.984 kB / 399.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.08224, allocations: 4 kB / 399.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.08225, allocations: 4 kB / 399.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.08246, allocations: 267.4 kB / 400.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.08253, allocations: 89 kB / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.08254, allocations: 0 / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.08264, allocations: 12 kB / 400.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.08267, allocations: 7.984 kB / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.08268, allocations: 0 / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.889e-05/0.08274, allocations: 103.3 kB / 400.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.08275, allocations: 0 / 400.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.083, allocations: 11.88 kB / 400.3 MB, free: 13.25 MB / 302.1 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.095e-05/0.08309, allocations: 99.23 kB / 400.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.08323, allocations: 47.92 kB / 400.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.08324, allocations: 0 / 400.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.08329, allocations: 15.92 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.08367, allocations: 40.03 kB / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.08396, allocations: 194.7 kB / 400.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.08419, allocations: 0.6887 MB / 401.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.081e-05/0.08423, allocations: 15.97 kB / 401.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.08426, allocations: 11.38 kB / 401.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.08427, allocations: 4 kB / 401.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Templates: time 0.002089/0.08636, allocations: 0.5334 MB / 401.9 MB, free: 11.53 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches