Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001349/0.00135, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.3 MB / 213.8 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009581/0.0009581, allocations: 90.16 kB / 261.8 MB, free: 1.613 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.06438/0.06438, allocations: 12.6 MB / 322.4 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.466e-05, allocations: 4 kB / 378.9 MB, free: 6.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2315, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09002/0.3216, allocations: 76.91 MB / 0.4944 GB, free: 5.324 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.3219, allocations: 75.95 kB / 0.4944 GB, free: 5.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00298/0.3248, allocations: 1.279 MB / 0.4957 GB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3249, allocations: 0 / 0.4957 GB, free: 3.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.3249, allocations: 0 / 0.4957 GB, free: 3.969 MB / 346.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.0003273/0.3252, allocations: 362.4 kB / 0.496 GB, free: 3.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3253, allocations: 12.03 kB / 0.496 GB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.3253, allocations: 15.8 kB / 0.4961 GB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.3255, allocations: 195.8 kB / 0.4962 GB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-06/0.3255, allocations: 0 / 0.4962 GB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3255, allocations: 4 kB / 0.4962 GB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.781e-05/0.3256, allocations: 20 kB / 0.4963 GB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3258, allocations: 113.9 kB / 0.4964 GB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3258, allocations: 3.938 kB / 0.4964 GB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3258, allocations: 0 / 0.4964 GB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.3258, allocations: 0 / 0.4964 GB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.3262, allocations: 354.4 kB / 0.4967 GB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.891e-05/0.3263, allocations: 59.73 kB / 0.4968 GB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.3263, allocations: 34.69 kB / 0.4968 GB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3263, allocations: 0 / 0.4968 GB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3264, allocations: 34.56 kB / 0.4968 GB, free: 2.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3264, allocations: 0 / 0.4968 GB, free: 2.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001712/0.3265, allocations: 65.53 kB / 0.4969 GB, free: 2.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3266, allocations: 106.9 kB / 0.497 GB, free: 2.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.3267, allocations: 135.2 kB / 0.4971 GB, free: 2.254 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3267, allocations: 25.7 kB / 0.4972 GB, free: 2.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.3268, allocations: 84.14 kB / 0.4972 GB, free: 2.137 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.3268, allocations: 11.91 kB / 0.4972 GB, free: 2.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.3268, allocations: 3.938 kB / 0.4972 GB, free: 2.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3269, allocations: 318.8 kB / 0.4976 GB, free: 1.801 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.3269, allocations: 11.94 kB / 0.4976 GB, free: 1.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/0.327, allocations: 31.44 kB / 0.4976 GB, free: 1.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.964e-05/0.327, allocations: 11.98 kB / 0.4976 GB, free: 1.734 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.327, allocations: 0 / 0.4976 GB, free: 1.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.804e-05/0.3271, allocations: 61.53 kB / 0.4977 GB, free: 1.668 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.3271, allocations: 4.125 kB / 0.4977 GB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3271, allocations: 4 kB / 0.4977 GB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3271, allocations: 4 kB / 0.4977 GB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.3272, allocations: 11.98 kB / 0.4977 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3272, allocations: 4 kB / 0.4977 GB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.3273, allocations: 4 kB / 0.4977 GB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.3273, allocations: 4 kB / 0.4977 GB, free: 1.633 MB / 346.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 () * 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 7.255e-05/0.3273, allocations: 120.9 kB / 0.4978 GB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.3274, allocations: 41.61 kB / 0.4979 GB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.3275, allocations: 15.95 kB / 0.4979 GB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3275, allocations: 4 kB / 0.4979 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3275, allocations: 4 kB / 0.4979 GB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3275, allocations: 0 / 0.4979 GB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.3277, allocations: 154.2 kB / 0.498 GB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3277, allocations: 0 / 0.498 GB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.3277, allocations: 15.98 kB / 0.498 GB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3278, allocations: 4.031 kB / 0.498 GB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.3278, allocations: 0 / 0.498 GB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3278, allocations: 4 kB / 0.498 GB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3278, allocations: 3.938 kB / 0.4981 GB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.3279, allocations: 270.9 kB / 0.4983 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.328, allocations: 100.9 kB / 0.4984 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.328, allocations: 0 / 0.4984 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.3281, allocations: 4 kB / 0.4984 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.3282, allocations: 8.125 kB / 0.4984 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3282, allocations: 0 / 0.4984 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.78e-05/0.3282, allocations: 107.9 kB / 0.4985 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3283, allocations: 0 / 0.4985 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000231/0.3285, allocations: 8 kB / 0.4985 GB, free: 0.6836 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 9.337e-05/0.3286, allocations: 99.03 kB / 0.4986 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.647e-05/0.3287, allocations: 35.91 kB / 0.4987 GB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3287, allocations: 0 / 0.4987 GB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.3287, allocations: 7.938 kB / 0.4987 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.329, allocations: 23.39 kB / 0.4987 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.3292, allocations: 117.9 kB / 0.4988 GB, free: 380 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3295, allocations: 0.7041 MB / 0.4995 GB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.407e-05/0.3295, allocations: 8.172 kB / 0.4995 GB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.993e-05/0.3295, allocations: 7.438 kB / 0.4995 GB, free: 15.62 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3295, allocations: 0 / 0.4995 GB, free: 15.62 MB / 362.7 MB Notification: Performance of Templates: time 0.002/0.3315, allocations: 0.5134 MB / 0.5 GB, free: 15.11 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches