Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001102/0.001102, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 60.22 kB / 307.1 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09608, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002708/0.09881, allocations: 1.528 MB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004031/0.09924, allocations: 143.5 kB / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.09933, allocations: 7.938 kB / 359.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.499e-05/0.09945, allocations: 7.922 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.245e-05/0.09954, allocations: 7.938 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.09975, allocations: 43.83 kB / 359.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.945e-05/0.09985, allocations: 35.86 kB / 359.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.09996, allocations: 27.95 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.09999, allocations: 15.94 kB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.1, allocations: 15.92 kB / 359.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1001, allocations: 7.938 kB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.1001, allocations: 4 kB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.1001, allocations: 11.98 kB / 359.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.1002, allocations: 27.75 kB / 359.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1003, allocations: 55.8 kB / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1003, allocations: 0 / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1003, allocations: 4 kB / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.1003, allocations: 0 / 359.5 MB, free: 12.02 MB / 302.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.0004351/0.1008, allocations: 391.2 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1008, allocations: 12.03 kB / 359.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.1008, allocations: 34.73 kB / 359.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.1009, allocations: 8.844 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.1011, allocations: 188.2 kB / 360.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1011, allocations: 4.375 kB / 360.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.1011, allocations: 8.375 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.1014, allocations: 122.4 kB / 360.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1014, allocations: 3.938 kB / 360.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1014, allocations: 0 / 360.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.1014, allocations: 7.938 kB / 360.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.1016, allocations: 39.91 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.102, allocations: 369.8 kB / 360.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1022, allocations: 87.77 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.382e-05/0.1023, allocations: 34.56 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.1023, allocations: 0 / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1023, allocations: 42.56 kB / 360.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1023, allocations: 0 / 360.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000316/0.1026, allocations: 105.5 kB / 360.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.1027, allocations: 106.8 kB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1028, allocations: 148.6 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1028, allocations: 29.7 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.1029, allocations: 88.05 kB / 361.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1029, allocations: 7.984 kB / 361.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.103, allocations: 21.7 kB / 361.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1031, allocations: 318.8 kB / 361.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.1031, allocations: 15.92 kB / 361.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.1032, allocations: 47.41 kB / 361.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1034, allocations: 67.27 kB / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1034, allocations: 0 / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001716/0.1036, allocations: 85.52 kB / 361.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1036, allocations: 6.812 kB / 361.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1036, allocations: 4 kB / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1036, allocations: 0 / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.1037, allocations: 15.92 kB / 361.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1037, allocations: 0 / 361.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.1038, allocations: 4 kB / 361.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1038, allocations: 8.125 kB / 361.9 MB, free: 9.324 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.0001583/0.104, allocations: 129.7 kB / 362 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.1041, allocations: 53.59 kB / 362.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.1041, allocations: 7.828 kB / 362.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.1041, allocations: 4 kB / 362.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1041, allocations: 4 kB / 362.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.1041, allocations: 7.984 kB / 362.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.1044, allocations: 177.6 kB / 362.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1044, allocations: 4.031 kB / 362.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.1044, allocations: 11.94 kB / 362.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1044, allocations: 0 / 362.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1045, allocations: 3.984 kB / 362.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1045, allocations: 0 / 362.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1045, allocations: 4 kB / 362.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1047, allocations: 263.5 kB / 362.6 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.1048, allocations: 96.94 kB / 362.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1048, allocations: 0 / 362.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1049, allocations: 4 kB / 362.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.105, allocations: 11.92 kB / 362.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.105, allocations: 0 / 362.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.326e-05/0.1051, allocations: 114.2 kB / 362.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1051, allocations: 4 kB / 362.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1054, allocations: 4 kB / 362.8 MB, free: 8.332 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.0005609/0.106, allocations: 0.8022 MB / 363.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1062, allocations: 43.91 kB / 363.6 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1062, allocations: 3.938 kB / 363.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.1062, allocations: 23.92 kB / 363.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.1067, allocations: 24.02 kB / 363.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1081, allocations: 1.496 MB / 365.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.1084, allocations: 0.6963 MB / 365.9 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.1084, allocations: 11.98 kB / 365.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.1085, allocations: 15.44 kB / 365.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1085, allocations: 0 / 365.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.1275, allocations: 1.692 MB / 367.6 MB, free: 3.496 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.443/7.571, allocations: 7.734 kB / 367.6 MB, free: 3.488 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable sample1.y[2] in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv failed! " Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:time,step1.startTime,step2.startTime,sample1.u[1],sample1.u[2],sample1.y[1]