Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 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.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.001246/0.001246, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.433/1.433, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 42.03 kB / 302 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1105, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003771/0.1143, allocations: 1.504 MB / 353 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004826/0.1148, allocations: 153 kB / 353.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.446e-05/0.115, allocations: 0 / 353.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.1151, allocations: 11.88 kB / 353.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1152, allocations: 11.92 kB / 353.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1155, allocations: 31.91 kB / 353.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.1156, allocations: 39.84 kB / 353.2 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1158, allocations: 12 kB / 353.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.1158, allocations: 31.84 kB / 353.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.1159, allocations: 15.92 kB / 353.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.1159, allocations: 4 kB / 353.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.1159, allocations: 0 / 353.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1161, allocations: 15.94 kB / 353.3 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.1161, allocations: 31.73 kB / 353.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1163, allocations: 51.75 kB / 353.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1163, allocations: 4 kB / 353.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1163, allocations: 0 / 353.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1163, allocations: 0 / 353.4 MB, free: 1.773 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.0005482/0.1168, allocations: 379.1 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1169, allocations: 8.031 kB / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.117, allocations: 8.844 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.1173, allocations: 192.2 kB / 354 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1173, allocations: 384 / 354 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.1173, allocations: 8.359 kB / 354 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.1177, allocations: 130.4 kB / 354.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1177, allocations: 4.125 kB / 354.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1177, allocations: 3.938 kB / 354.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.1177, allocations: 4 kB / 354.1 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1178, allocations: 23.98 kB / 354.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.1183, allocations: 369.8 kB / 354.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1184, allocations: 79.72 kB / 354.6 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.1185, allocations: 34.62 kB / 354.6 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.1185, allocations: 4 kB / 354.6 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1185, allocations: 30.56 kB / 354.7 MB, free: 316 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.1186, allocations: 0 / 354.7 MB, free: 316 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003113/0.1189, allocations: 97.84 kB / 354.8 MB, free: 212 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.1189, allocations: 110.8 kB / 354.9 MB, free: 76 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1191, allocations: 137.7 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1191, allocations: 25.7 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.1192, allocations: 92.12 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.1192, allocations: 3.906 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.1192, allocations: 21.72 kB / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.1193, allocations: 314.8 kB / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.1194, allocations: 19.92 kB / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.1195, allocations: 35.42 kB / 355.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.1196, allocations: 59.3 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1196, allocations: 0 / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001426/0.1197, allocations: 73.55 kB / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1197, allocations: 4 kB / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1198, allocations: 0 / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1198, allocations: 4 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-05/0.1198, allocations: 4 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1198, allocations: 3.984 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.1199, allocations: 12.03 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1199, allocations: 4 kB / 355.7 MB, free: 15.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 (sample1.u[1],sample1.u[2],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 9.671e-05/0.12, allocations: 129.7 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.1201, allocations: 41.64 kB / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.1201, allocations: 15.86 kB / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.1201, allocations: 4 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1201, allocations: 0 / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1202, allocations: 0 / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.1204, allocations: 185.5 kB / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1204, allocations: 0 / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-06/0.1204, allocations: 4 kB / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1204, allocations: 0 / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1204, allocations: 0 / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1205, allocations: 4 kB / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1205, allocations: 3.984 kB / 356 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.1207, allocations: 263.5 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.1207, allocations: 89.23 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1208, allocations: 7.984 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.1209, allocations: 4 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.1209, allocations: 7.922 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.1209, allocations: 4 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.04e-05/0.121, allocations: 109.8 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.121, allocations: 4 kB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1213, allocations: 4 kB / 356.5 MB, free: 14.24 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 (sample1.u[1],sample1.u[2],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.0001148/0.1214, allocations: 103.2 kB / 356.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.1216, allocations: 39.92 kB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1216, allocations: 0 / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.656e-05/0.1216, allocations: 12.23 kB / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.1221, allocations: 39.95 kB / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.1225, allocations: 171.1 kB / 356.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1228, allocations: 0.6924 MB / 357.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.1228, allocations: 11.97 kB / 357.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.1229, allocations: 7.438 kB / 357.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1229, allocations: 8.094 kB / 357.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Templates: time 0.003087/0.126, allocations: 0.6059 MB / 358.2 MB, free: 12.5 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches