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.001623/0.001623, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001428/0.001429, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.475/1.475, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 41.66 kB / 299.9 MB, free: 6.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1252, allocations: 49.46 MB / 349.4 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003241/0.1284, allocations: 1.557 MB / 351 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003582/0.1288, allocations: 151.5 kB / 351.1 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.1289, allocations: 4 kB / 351.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.129, allocations: 3.938 kB / 351.1 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.389e-05/0.1291, allocations: 15.91 kB / 351.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1294, allocations: 27.98 kB / 351.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.1295, allocations: 43.78 kB / 351.2 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1296, allocations: 15.98 kB / 351.2 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.1297, allocations: 15.94 kB / 351.2 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.1297, allocations: 15.92 kB / 351.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1297, allocations: 4 kB / 351.3 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.1298, allocations: 4 kB / 351.3 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.1298, allocations: 15.92 kB / 351.3 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.1299, allocations: 19.81 kB / 351.3 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.13, allocations: 51.73 kB / 351.3 MB, free: 2.887 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.13, allocations: 0 / 351.3 MB, free: 2.887 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.13, allocations: 3.938 kB / 351.3 MB, free: 2.883 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.13, allocations: 0 / 351.3 MB, free: 2.883 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.0005233/0.1306, allocations: 379.5 kB / 351.7 MB, free: 2.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1306, allocations: 8.031 kB / 351.7 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.1307, allocations: 8.844 kB / 351.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1309, allocations: 194.9 kB / 351.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.131, allocations: 4.375 kB / 351.9 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.131, allocations: 4.375 kB / 351.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.1313, allocations: 118.5 kB / 352 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1313, allocations: 4.172 kB / 352.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1313, allocations: 3.938 kB / 352.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.1314, allocations: 4 kB / 352.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.648e-05/0.1315, allocations: 27.92 kB / 352.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.1319, allocations: 365.8 kB / 352.4 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1321, allocations: 83.72 kB / 352.5 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.893e-05/0.1321, allocations: 34.62 kB / 352.6 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.1322, allocations: 0 / 352.6 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1322, allocations: 42.44 kB / 352.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.1322, allocations: 0 / 352.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003085/0.1325, allocations: 89.94 kB / 352.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.1326, allocations: 114.8 kB / 352.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1327, allocations: 141.7 kB / 352.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1327, allocations: 25.7 kB / 353 MB, free: 1.008 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.1328, allocations: 88.12 kB / 353.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.1328, allocations: 7.906 kB / 353.1 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1329, allocations: 17.72 kB / 353.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.133, allocations: 310.8 kB / 353.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.1331, allocations: 19.98 kB / 353.4 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.1331, allocations: 39.36 kB / 353.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.1332, allocations: 63.3 kB / 353.5 MB, free: 440 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1332, allocations: 0 / 353.5 MB, free: 440 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001362/0.1334, allocations: 69.7 kB / 353.6 MB, free: 364 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1334, allocations: 4 kB / 353.6 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1334, allocations: 7.984 kB / 353.6 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1334, allocations: 0 / 353.6 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.212e-05/0.1335, allocations: 4 kB / 353.6 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1335, allocations: 7.984 kB / 353.6 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/0.1335, allocations: 8.031 kB / 353.6 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1335, allocations: 7.938 kB / 353.6 MB, free: 324 kB / 286.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 0.0001478/0.1337, allocations: 133.6 kB / 353.7 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.1338, allocations: 45.7 kB / 353.8 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.1338, allocations: 11.86 kB / 353.8 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.1338, allocations: 4 kB / 353.8 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1338, allocations: 0 / 353.8 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1339, allocations: 4 kB / 353.8 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1341, allocations: 177.5 kB / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1341, allocations: 4 kB / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.1341, allocations: 0 / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1341, allocations: 0 / 354 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1341, allocations: 4 kB / 354 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1342, allocations: 0 / 354 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1342, allocations: 3.984 kB / 354 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.1344, allocations: 263.5 kB / 354.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.1345, allocations: 89.03 kB / 354.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1345, allocations: 0 / 354.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.1346, allocations: 4 kB / 354.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.1346, allocations: 7.984 kB / 354.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1346, allocations: 4 kB / 354.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.315e-05/0.1347, allocations: 106.3 kB / 354.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1347, allocations: 4 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.135, allocations: 8 kB / 354.5 MB, free: 15.36 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.0001294/0.1351, allocations: 103.2 kB / 354.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1353, allocations: 35.92 kB / 354.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1353, allocations: 0 / 354.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.956e-05/0.1354, allocations: 20.23 kB / 354.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1358, allocations: 33.39 kB / 354.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.1362, allocations: 188.9 kB / 354.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1365, allocations: 0.7005 MB / 355.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.271e-05/0.1366, allocations: 7.984 kB / 355.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.1366, allocations: 7.438 kB / 355.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1366, allocations: 0 / 355.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of Templates: time 0.002915/0.1395, allocations: 0.5542 MB / 356.1 MB, free: 13.66 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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