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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 110.5 kB / 16.62 MB, free: 6.809 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.002205/0.002205, allocations: 189.8 kB / 17.55 MB, free: 5.93 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.616/1.616, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 55.03 kB / 300.2 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1179, allocations: 49.44 MB / 349.7 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003218/0.1211, allocations: 1.58 MB / 351.3 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004036/0.1216, allocations: 155.5 kB / 351.4 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.457e-05/0.1217, allocations: 0 / 351.4 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.1218, allocations: 3.938 kB / 351.4 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.98e-05/0.1219, allocations: 11.94 kB / 351.4 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1222, allocations: 31.91 kB / 351.5 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.88e-05/0.1223, allocations: 43.91 kB / 351.5 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1224, allocations: 15.94 kB / 351.5 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.1225, allocations: 23.91 kB / 351.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.1225, allocations: 19.92 kB / 351.6 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1225, allocations: 4 kB / 351.6 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.1226, allocations: 0 / 351.6 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.1226, allocations: 15.94 kB / 351.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.1227, allocations: 27.73 kB / 351.6 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.1228, allocations: 55.75 kB / 351.7 MB, free: 2.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1228, allocations: 0 / 351.7 MB, free: 2.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1228, allocations: 0 / 351.7 MB, free: 2.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1228, allocations: 4 kB / 351.7 MB, free: 2.656 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.0005034/0.1233, allocations: 387.3 kB / 352 MB, free: 2.227 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1234, allocations: 8.031 kB / 352.1 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.1234, allocations: 38.75 kB / 352.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.1235, allocations: 12.78 kB / 352.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.1237, allocations: 192.1 kB / 352.3 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1237, allocations: 8.375 kB / 352.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1237, allocations: 384 / 352.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.124, allocations: 126.4 kB / 352.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.124, allocations: 3.938 kB / 352.4 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.124, allocations: 3.984 kB / 352.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.1241, allocations: 4 kB / 352.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1242, allocations: 39.84 kB / 352.5 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1246, allocations: 373.8 kB / 352.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1247, allocations: 83.78 kB / 352.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.1248, allocations: 42.61 kB / 353 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.1248, allocations: 0 / 353 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1249, allocations: 30.56 kB / 353 MB, free: 1.109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1249, allocations: 4 kB / 353 MB, free: 1.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003323/0.1252, allocations: 105.5 kB / 353.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.1253, allocations: 114.8 kB / 353.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1254, allocations: 137.8 kB / 353.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1254, allocations: 25.7 kB / 353.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.1255, allocations: 92.05 kB / 353.5 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.1255, allocations: 4.375 kB / 353.5 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.1255, allocations: 25.72 kB / 353.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1257, allocations: 314.8 kB / 353.8 MB, free: 244 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.1257, allocations: 19.98 kB / 353.8 MB, free: 224 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.1258, allocations: 35.42 kB / 353.9 MB, free: 176 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1259, allocations: 71.28 kB / 353.9 MB, free: 92 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1259, allocations: 0 / 353.9 MB, free: 92 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001884/0.1261, allocations: 93.62 kB / 354 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1262, allocations: 6.656 kB / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1262, allocations: 3.938 kB / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1262, allocations: 4 kB / 354 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.694e-05/0.1263, allocations: 11.94 kB / 354 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1263, allocations: 0 / 354 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.1263, allocations: 4 kB / 354 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1263, allocations: 4 kB / 354 MB, free: 15.96 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[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.0001485/0.1265, allocations: 137.8 kB / 354.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.132e-05/0.1266, allocations: 49.59 kB / 354.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.1266, allocations: 15.81 kB / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.1266, allocations: 4 kB / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1267, allocations: 0 / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1267, allocations: 0 / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1269, allocations: 177.6 kB / 354.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1269, allocations: 8 kB / 354.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.127, allocations: 4 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.127, allocations: 0 / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.127, allocations: 8.031 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.127, allocations: 0 / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.127, allocations: 0 / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.1272, allocations: 271.4 kB / 354.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.1273, allocations: 89.02 kB / 354.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.1273, allocations: 11.92 kB / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.1274, allocations: 4 kB / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.1275, allocations: 4 kB / 354.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1275, allocations: 4.094 kB / 354.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.787e-05/0.1276, allocations: 110 kB / 354.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1276, allocations: 0 / 354.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1278, allocations: 8 kB / 354.9 MB, free: 14.97 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[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.0005487/0.1284, allocations: 0.8138 MB / 355.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1286, allocations: 47.97 kB / 355.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1286, allocations: 0 / 355.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.925e-05/0.1287, allocations: 19.92 kB / 355.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.1291, allocations: 23.83 kB / 355.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.1308, allocations: 1.514 MB / 357.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1311, allocations: 0.6885 MB / 358 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.1311, allocations: 11.97 kB / 358 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.1312, allocations: 15.44 kB / 358.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1312, allocations: 0 / 358.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.1435, allocations: 1.57 MB / 359.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/0.1438, allocations: 240 kB / 359.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.163, allocations: 3.094 kB / 359.9 MB, free: 10.02 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > 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