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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001334/0.001334, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001731/0.001731, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.127/2.127, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 43.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4934, allocations: 49.44 MB / 400.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.006165/0.4996, allocations: 1.505 MB / 401.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007304/0.5004, allocations: 144.5 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.5006, allocations: 2.156 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.5008, allocations: 3.938 kB / 401.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.501, allocations: 14.09 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.5014, allocations: 41.91 kB / 401.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.5016, allocations: 39.97 kB / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.5017, allocations: 19.92 kB / 402 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.5018, allocations: 15.94 kB / 402 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.5019, allocations: 15.92 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.5019, allocations: 4 kB / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.673e-05/0.502, allocations: 0 / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/0.5021, allocations: 23.92 kB / 402.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.5022, allocations: 27.8 kB / 402.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.5024, allocations: 59.62 kB / 402.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5024, allocations: 0 / 402.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5024, allocations: 4 kB / 402.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.5024, allocations: 0 / 402.1 MB, free: 6.918 MB / 318.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.0007341/0.5032, allocations: 368.9 kB / 402.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.657e-05/0.5033, allocations: 8.031 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.596e-05/0.5033, allocations: 38.75 kB / 402.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.5034, allocations: 12.84 kB / 402.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.504, allocations: 192.1 kB / 402.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.5041, allocations: 8.375 kB / 402.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.5041, allocations: 384 / 402.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.5047, allocations: 118.5 kB / 402.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.5047, allocations: 3.938 kB / 402.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.5048, allocations: 4 kB / 402.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/0.5048, allocations: 11.94 kB / 402.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.505, allocations: 27.97 kB / 402.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.5057, allocations: 357.9 kB / 403.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.506, allocations: 79.78 kB / 403.3 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.5061, allocations: 34.62 kB / 403.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.5062, allocations: 0 / 403.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.5062, allocations: 42.48 kB / 403.4 MB, free: 5.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.5063, allocations: 0 / 403.4 MB, free: 5.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005727/0.5068, allocations: 97.44 kB / 403.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.507, allocations: 106.8 kB / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.5072, allocations: 148.7 kB / 403.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.5072, allocations: 25.7 kB / 403.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.5073, allocations: 92.05 kB / 403.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.5074, allocations: 4 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.5074, allocations: 21.7 kB / 403.9 MB, free: 4.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5076, allocations: 318.8 kB / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.5077, allocations: 11.98 kB / 404.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.5078, allocations: 39.42 kB / 404.3 MB, free: 4.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.508, allocations: 55.36 kB / 404.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.508, allocations: 0 / 404.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002359/0.5082, allocations: 73.52 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.5083, allocations: 7.938 kB / 404.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5083, allocations: 4 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.5083, allocations: 3.938 kB / 404.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.972e-05/0.5084, allocations: 0 / 404.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5084, allocations: 4 kB / 404.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.5085, allocations: 3.938 kB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.5085, allocations: 4 kB / 404.4 MB, free: 4.324 MB / 318.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.0001852/0.5087, allocations: 133.9 kB / 404.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.5089, allocations: 53.53 kB / 404.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.5089, allocations: 7.875 kB / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.509, allocations: 4 kB / 404.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.509, allocations: 96 / 404.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.509, allocations: 11.97 kB / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.5094, allocations: 173.6 kB / 404.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5094, allocations: 0 / 404.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-06/0.5094, allocations: 0 / 404.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.5095, allocations: 4.031 kB / 404.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.5095, allocations: 4 kB / 404.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5095, allocations: 0 / 404.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5095, allocations: 0 / 404.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.5099, allocations: 259.5 kB / 405.1 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.51, allocations: 96.94 kB / 405.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.51, allocations: 7.984 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.5102, allocations: 4 kB / 405.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.5103, allocations: 8 kB / 405.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.5103, allocations: 0 / 405.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.5104, allocations: 110.4 kB / 405.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5105, allocations: 0 / 405.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005023/0.511, allocations: 4 kB / 405.3 MB, free: 3.355 MB / 318.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.0008812/0.5119, allocations: 0.7991 MB / 406.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.5122, allocations: 44.16 kB / 406.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5122, allocations: 3.938 kB / 406.1 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.5123, allocations: 11.98 kB / 406.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.5131, allocations: 29.69 kB / 406.2 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.5158, allocations: 1.443 MB / 407.6 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.5164, allocations: 0.7 MB / 408.3 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.742e-05/0.5165, allocations: 15.92 kB / 408.3 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.5167, allocations: 14.19 kB / 408.3 MB, free: 140 kB / 318.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5167, allocations: 0 / 408.3 MB, free: 140 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.5474, allocations: 1.73 MB / 410.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.63, allocations: 12.55 kB / 410.1 MB, free: 14.54 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > 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