Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 103 kB / 17.74 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 188.5 kB / 18.66 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4137, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003199/0.417, allocations: 1.532 MB / 402.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004991/0.4175, allocations: 147.4 kB / 403.1 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.612e-05/0.4176, allocations: 4 kB / 403.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.4178, allocations: 3.938 kB / 403.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.4179, allocations: 7.922 kB / 403.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.4182, allocations: 46.09 kB / 403.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.4183, allocations: 35.91 kB / 403.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.4185, allocations: 23.92 kB / 403.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.4185, allocations: 19.92 kB / 403.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.4186, allocations: 15.92 kB / 403.2 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.4186, allocations: 4 kB / 403.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.4186, allocations: 0 / 403.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.4187, allocations: 15.94 kB / 403.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.4187, allocations: 31.73 kB / 403.3 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.4189, allocations: 59.75 kB / 403.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4189, allocations: 3.984 kB / 403.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.135e-06/0.4189, allocations: 0 / 403.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.4189, allocations: 0 / 403.3 MB, free: 6.926 MB / 318.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.0006152/0.4195, allocations: 380.3 kB / 403.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4196, allocations: 12.03 kB / 403.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.4196, allocations: 8.844 kB / 403.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.4199, allocations: 204 kB / 403.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.42, allocations: 8.375 kB / 403.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.42, allocations: 4.375 kB / 403.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.4203, allocations: 118.4 kB / 404.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4203, allocations: 192 / 404.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4203, allocations: 3.938 kB / 404.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.4204, allocations: 12 kB / 404.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.4205, allocations: 35.91 kB / 404.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.421, allocations: 365.9 kB / 404.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.4212, allocations: 87.7 kB / 404.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.4213, allocations: 42.56 kB / 404.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.4213, allocations: 0 / 404.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.4214, allocations: 38.56 kB / 404.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4214, allocations: 0 / 404.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003555/0.4217, allocations: 105.5 kB / 404.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.4218, allocations: 114.7 kB / 404.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.422, allocations: 150.1 kB / 405 MB, free: 5.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.422, allocations: 25.7 kB / 405 MB, free: 4.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.4221, allocations: 88.14 kB / 405.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.4221, allocations: 7.938 kB / 405.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.4221, allocations: 25.61 kB / 405.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4223, allocations: 310.8 kB / 405.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.4224, allocations: 19.98 kB / 405.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-05/0.4224, allocations: 43.42 kB / 405.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.4226, allocations: 55.34 kB / 405.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4226, allocations: 3.938 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001627/0.4228, allocations: 85.59 kB / 405.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4228, allocations: 4 kB / 405.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4228, allocations: 7.938 kB / 405.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4228, allocations: 0 / 405.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.4229, allocations: 11.98 kB / 405.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.4229, allocations: 0 / 405.7 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.423, allocations: 11.97 kB / 405.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.423, allocations: 8 kB / 405.7 MB, free: 4.273 MB / 318.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 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.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.0001293/0.4231, allocations: 129.7 kB / 405.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.309e-05/0.4232, allocations: 53.59 kB / 405.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.4233, allocations: 11.91 kB / 405.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.4233, allocations: 7.984 kB / 405.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4233, allocations: 0 / 405.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4233, allocations: 7.984 kB / 405.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.4236, allocations: 173.6 kB / 406.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4236, allocations: 4.031 kB / 406.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.4237, allocations: 4 kB / 406.1 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4237, allocations: 4 kB / 406.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4237, allocations: 0 / 406.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.4237, allocations: 7.984 kB / 406.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4237, allocations: 4 kB / 406.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.424, allocations: 271.4 kB / 406.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.4241, allocations: 89 kB / 406.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.4241, allocations: 4 kB / 406.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.4242, allocations: 4 kB / 406.4 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.4242, allocations: 7.984 kB / 406.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.4242, allocations: 3.938 kB / 406.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.083e-05/0.4243, allocations: 110 kB / 406.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.4243, allocations: 4 kB / 406.6 MB, free: 3.285 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.4246, allocations: 7.938 kB / 406.6 MB, free: 3.277 MB / 318.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 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.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 0.0001277/0.4247, allocations: 103.2 kB / 406.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.4249, allocations: 47.91 kB / 406.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.425, allocations: 0 / 406.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.172e-05/0.425, allocations: 20.23 kB / 406.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.4255, allocations: 27.95 kB / 406.8 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.4259, allocations: 208.8 kB / 407 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.4262, allocations: 0.6924 MB / 407.7 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.4263, allocations: 11.44 kB / 407.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4263, allocations: 4.219 kB / 407.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of Templates: time 0.002834/0.4291, allocations: 0.8361 MB / 408.5 MB, free: 1.27 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches