Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001907/0.001907, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002088/0.002088, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 60.53 kB / 307.1 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08731/0.08862, allocations: 50.52 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003598/0.09226, allocations: 1.517 MB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005222/0.09283, allocations: 147.5 kB / 359.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.09298, allocations: 3.938 kB / 359.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.09316, allocations: 7.922 kB / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.09329, allocations: 7.938 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.09362, allocations: 35.89 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.09376, allocations: 43.8 kB / 359.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.09392, allocations: 23.98 kB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.09397, allocations: 15.92 kB / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.09403, allocations: 15.92 kB / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.09408, allocations: 11.92 kB / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.0941, allocations: 0 / 359.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.954e-05/0.09419, allocations: 15.94 kB / 359.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.09425, allocations: 27.8 kB / 359.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.09441, allocations: 47.77 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.09443, allocations: 4 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.09444, allocations: 0 / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.09445, allocations: 4 kB / 359.5 MB, free: 12.04 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.0006172/0.09508, allocations: 375.4 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.09513, allocations: 12.02 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.09518, allocations: 38.75 kB / 359.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.09522, allocations: 8.75 kB / 359.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.09544, allocations: 191.2 kB / 360.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.09547, allocations: 4.375 kB / 360.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.09549, allocations: 4.375 kB / 360.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.0958, allocations: 114.5 kB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.09582, allocations: 3.938 kB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.09584, allocations: 11.97 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.09588, allocations: 4 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.461e-05/0.09598, allocations: 31.92 kB / 360.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.09641, allocations: 365.8 kB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.09655, allocations: 79.78 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.09662, allocations: 34.62 kB / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.09664, allocations: 7.984 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.09667, allocations: 34.5 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.09668, allocations: 4 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003169/0.097, allocations: 93.45 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.09708, allocations: 110.8 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.09726, allocations: 133.8 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.09729, allocations: 25.7 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.09736, allocations: 92.52 kB / 361.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.09738, allocations: 7.891 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.09745, allocations: 21.72 kB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.09763, allocations: 318.8 kB / 361.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.358e-05/0.09769, allocations: 11.98 kB / 361.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.09777, allocations: 39.36 kB / 361.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.09788, allocations: 51.42 kB / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.09789, allocations: 0 / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001713/0.09807, allocations: 81.39 kB / 361.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.0981, allocations: 8.125 kB / 361.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.09811, allocations: 0 / 361.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.09813, allocations: 4 kB / 361.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.319e-05/0.09816, allocations: 0 / 361.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.09818, allocations: 3.984 kB / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.09823, allocations: 8 kB / 361.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.09824, allocations: 4 kB / 361.8 MB, free: 9.438 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 0.0002112/0.09846, allocations: 121.7 kB / 361.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.09857, allocations: 57.53 kB / 362 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.09862, allocations: 19.81 kB / 362 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.09864, allocations: 4 kB / 362 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.09865, allocations: 0 / 362 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.09866, allocations: 0 / 362 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.09892, allocations: 173.6 kB / 362.2 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.09893, allocations: 0 / 362.2 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-06/0.09894, allocations: 4 kB / 362.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.09895, allocations: 0 / 362.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.09897, allocations: 3.984 kB / 362.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.09897, allocations: 0 / 362.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.09898, allocations: 8.031 kB / 362.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.09924, allocations: 263.4 kB / 362.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.09932, allocations: 93 kB / 362.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.09935, allocations: 0 / 362.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.09945, allocations: 7.938 kB / 362.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.0995, allocations: 4 kB / 362.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.09951, allocations: 4 kB / 362.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.722e-05/0.09958, allocations: 109.9 kB / 362.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09959, allocations: 0 / 362.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.09987, allocations: 4 kB / 362.6 MB, free: 8.473 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.000552/0.1004, allocations: 0.7944 MB / 363.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.1006, allocations: 43.91 kB / 363.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1006, allocations: 0 / 363.5 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.64e-05/0.1007, allocations: 12.31 kB / 363.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.1011, allocations: 31.95 kB / 363.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.1027, allocations: 1.45 MB / 365 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1031, allocations: 0.6924 MB / 365.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.914e-05/0.1031, allocations: 11.98 kB / 365.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.1032, allocations: 15.44 kB / 365.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1032, allocations: 0 / 365.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.1208, allocations: 1.689 MB / 367.4 MB, free: 3.707 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.829, allocations: 448 / 367.4 MB, free: 3.703 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches