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.0009484/0.0009485, allocations: 177.6 kB / 8.045 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.493/1.493, allocations: 205.3 MB / 213.8 MB, free: 1.734 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.0009005/0.0009004, allocations: 86.16 kB / 261.8 MB, free: 1.684 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.08195/0.08195, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.452e-05, allocations: 4 kB / 378.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2432, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09985/0.3431, allocations: 76.91 MB / 0.4944 GB, free: 5.324 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.3433, allocations: 79.95 kB / 0.4944 GB, free: 5.246 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002792/0.3461, allocations: 1.169 MB / 0.4956 GB, free: 4.078 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3462, allocations: 0 / 0.4956 GB, free: 4.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.3462, allocations: 4 kB / 0.4956 GB, free: 4.074 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.0003315/0.3465, allocations: 340.6 kB / 0.4959 GB, free: 3.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3466, allocations: 12.03 kB / 0.4959 GB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.3466, allocations: 11.89 kB / 0.4959 GB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.3468, allocations: 182.9 kB / 0.4961 GB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.3468, allocations: 4 kB / 0.4961 GB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3469, allocations: 7.953 kB / 0.4961 GB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.489e-05/0.347, allocations: 31.86 kB / 0.4961 GB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3471, allocations: 105.9 kB / 0.4962 GB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3472, allocations: 0 / 0.4962 GB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3472, allocations: 0 / 0.4962 GB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3472, allocations: 0 / 0.4962 GB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.3475, allocations: 346.4 kB / 0.4966 GB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.791e-05/0.3476, allocations: 63.73 kB / 0.4966 GB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.3477, allocations: 26.7 kB / 0.4967 GB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3477, allocations: 0 / 0.4967 GB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3477, allocations: 42.48 kB / 0.4967 GB, free: 2.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.3477, allocations: 0 / 0.4967 GB, free: 2.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001639/0.3479, allocations: 69.56 kB / 0.4968 GB, free: 2.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.348, allocations: 102.8 kB / 0.4969 GB, free: 2.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/0.3481, allocations: 121.2 kB / 0.497 GB, free: 2.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3481, allocations: 25.7 kB / 0.497 GB, free: 2.371 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.3481, allocations: 92.12 kB / 0.4971 GB, free: 2.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.857e-06/0.3482, allocations: 3.906 kB / 0.4971 GB, free: 2.273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.3482, allocations: 0 / 0.4971 GB, free: 2.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3483, allocations: 314.8 kB / 0.4974 GB, free: 1.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.3483, allocations: 12.05 kB / 0.4974 GB, free: 1.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.3483, allocations: 31.44 kB / 0.4974 GB, free: 1.902 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.997e-05/0.3483, allocations: 8 kB / 0.4974 GB, free: 1.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3484, allocations: 0 / 0.4974 GB, free: 1.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.158e-05/0.3484, allocations: 69.52 kB / 0.4975 GB, free: 1.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3485, allocations: 7.938 kB / 0.4975 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3485, allocations: 7.984 kB / 0.4975 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3485, allocations: 0 / 0.4975 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.677e-05/0.3485, allocations: 0 / 0.4975 GB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3485, allocations: 4 kB / 0.4975 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.3486, allocations: 0 / 0.4975 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-06/0.3486, allocations: 7.984 kB / 0.4975 GB, free: 1.793 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 6.783e-05/0.3486, allocations: 109.1 kB / 0.4976 GB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/0.3487, allocations: 53.55 kB / 0.4977 GB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.3488, allocations: 15.95 kB / 0.4977 GB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3488, allocations: 3.938 kB / 0.4977 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3488, allocations: 0 / 0.4977 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3488, allocations: 0 / 0.4977 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.349, allocations: 150.2 kB / 0.4979 GB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.349, allocations: 4 kB / 0.4979 GB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-06/0.349, allocations: 4 kB / 0.4979 GB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.349, allocations: 0 / 0.4979 GB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.349, allocations: 7.984 kB / 0.4979 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.349, allocations: 0 / 0.4979 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.349, allocations: 4 kB / 0.4979 GB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.3492, allocations: 263 kB / 0.4981 GB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.3493, allocations: 101.1 kB / 0.4982 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3493, allocations: 4 kB / 0.4982 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.3494, allocations: 0 / 0.4982 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.3494, allocations: 11.97 kB / 0.4982 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3494, allocations: 0 / 0.4982 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.155e-05/0.3495, allocations: 104.7 kB / 0.4983 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3495, allocations: 0 / 0.4983 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.3497, allocations: 4 kB / 0.4983 GB, free: 0.875 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.344e-05/0.3498, allocations: 103 kB / 0.4984 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.908e-05/0.3499, allocations: 23.94 kB / 0.4985 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3499, allocations: 4 kB / 0.4985 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-05/0.35, allocations: 7.984 kB / 0.4985 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.3503, allocations: 27.34 kB / 0.4985 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.3505, allocations: 125.6 kB / 0.4986 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3508, allocations: 0.7041 MB / 0.4993 GB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.293e-05/0.3508, allocations: 4.188 kB / 0.4993 GB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.3508, allocations: 11.44 kB / 0.4993 GB, free: 15.8 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3508, allocations: 0 / 0.4993 GB, free: 15.8 MB / 362.7 MB Notification: Performance of Templates: time 0.002191/0.353, allocations: 0.5088 MB / 0.4998 GB, free: 15.3 MB / 362.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/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