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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 95.89 kB / 15.73 MB, free: 440 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.001046/0.001046, allocations: 182 kB / 16.61 MB, free: 6.426 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.522/1.522, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.08354/0.08354, allocations: 12.59 MB / 283.6 MB, free: 8.695 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.00074/0.0007402, allocations: 24 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.104, allocations: 50.38 MB / 394.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001749/0.1058, allocations: 1.224 MB / 396.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003042/0.1062, allocations: 143.6 kB / 396.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.1062, allocations: 0 / 396.3 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.708e-05/0.1063, allocations: 7.922 kB / 396.3 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.697e-05/0.1064, allocations: 3.984 kB / 396.3 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1066, allocations: 39.84 kB / 396.3 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.1067, allocations: 31.91 kB / 396.3 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1068, allocations: 11.98 kB / 396.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.1069, allocations: 15.94 kB / 396.4 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.1069, allocations: 15.91 kB / 396.4 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.107, allocations: 0 / 396.4 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.107, allocations: 0 / 396.4 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.107, allocations: 15.94 kB / 396.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.107, allocations: 37.64 kB / 396.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.907e-05/0.1071, allocations: 31.94 kB / 396.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1071, allocations: 0 / 396.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1071, allocations: 0 / 396.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1071, allocations: 0 / 396.5 MB, free: 1.191 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.000492/0.1076, allocations: 391.2 kB / 396.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1077, allocations: 8.031 kB / 396.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.1077, allocations: 7.906 kB / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.1079, allocations: 194.8 kB / 397.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.108, allocations: 4 kB / 397.1 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.108, allocations: 4 kB / 397.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1083, allocations: 121.9 kB / 397.2 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1083, allocations: 4 kB / 397.2 MB, free: 372 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1083, allocations: 4 kB / 397.2 MB, free: 368 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.1084, allocations: 4 kB / 397.2 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1085, allocations: 47.84 kB / 397.2 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.1091, allocations: 381.8 kB / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1092, allocations: 87.77 kB / 397.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1093, allocations: 0 / 397.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1093, allocations: 34.62 kB / 397.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1093, allocations: 0 / 397.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004481/0.1098, allocations: 202.7 kB / 397.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.1098, allocations: 106.8 kB / 398 MB, free: 15.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.11, allocations: 149.5 kB / 398.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.11, allocations: 33.98 kB / 398.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.1101, allocations: 84.14 kB / 398.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.1101, allocations: 7.906 kB / 398.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.1101, allocations: 0 / 398.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1103, allocations: 318.8 kB / 398.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.1103, allocations: 19.92 kB / 398.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.1104, allocations: 47.42 kB / 398.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.94e-05/0.1105, allocations: 23.98 kB / 398.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1105, allocations: 0 / 398.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001766/0.1107, allocations: 97.53 kB / 398.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1107, allocations: 4 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1107, allocations: 0 / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1107, allocations: 4 kB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.1108, allocations: 16.11 kB / 398.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1109, allocations: 0 / 398.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.1109, allocations: 8 kB / 398.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1109, allocations: 3.953 kB / 398.8 MB, free: 14.52 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[2],sample.u[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.1111, allocations: 121.8 kB / 399 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.1112, allocations: 57.53 kB / 399 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.1112, allocations: 11.88 kB / 399 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.1112, allocations: 8.031 kB / 399 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1113, allocations: 0 / 399 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1113, allocations: 3.984 kB / 399 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1115, allocations: 181.5 kB / 399.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1115, allocations: 4 kB / 399.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.1116, allocations: 8.094 kB / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1116, allocations: 3.984 kB / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1116, allocations: 0 / 399.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1116, allocations: 3.984 kB / 399.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1116, allocations: 4 kB / 399.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.1119, allocations: 299 kB / 399.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.112, allocations: 96.94 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.112, allocations: 0 / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1121, allocations: 11.94 kB / 399.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.1122, allocations: 7.938 kB / 399.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.1122, allocations: 0 / 399.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.682e-05/0.1123, allocations: 108 kB / 399.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1123, allocations: 0 / 399.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1125, allocations: 11.91 kB / 399.8 MB, free: 13.48 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[2],sample.u[1],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 (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 0.0001164/0.1126, allocations: 103.2 kB / 399.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1129, allocations: 47.91 kB / 399.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1129, allocations: 12.19 kB / 399.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.471e-05/0.113, allocations: 23.98 kB / 399.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1133, allocations: 31.94 kB / 400 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.1136, allocations: 186.6 kB / 400.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1139, allocations: 0.6965 MB / 400.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.1139, allocations: 7.984 kB / 400.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.114, allocations: 11.44 kB / 400.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.114, allocations: 0 / 400.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Templates: time 0.002705/0.1167, allocations: 0.5311 MB / 401.4 MB, free: 11.77 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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