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.001155/0.001155, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 204.6 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3073, allocations: 50.55 MB / 408.8 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002553/0.3098, allocations: 1.515 MB / 410.3 MB, free: 188 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003527/0.3102, allocations: 143.5 kB / 410.4 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.3103, allocations: 0 / 410.4 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.557e-05/0.3104, allocations: 7.922 kB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.3105, allocations: 11.94 kB / 410.4 MB, free: 24 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.3107, allocations: 39.83 kB / 410.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.876e-05/0.3108, allocations: 35.92 kB / 410.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.3109, allocations: 23.92 kB / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.311, allocations: 15.94 kB / 410.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.939e-05/0.311, allocations: 19.86 kB / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.311, allocations: 0 / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.311, allocations: 4 kB / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.3111, allocations: 23.91 kB / 410.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.3111, allocations: 19.81 kB / 410.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.909e-05/0.3112, allocations: 55.75 kB / 410.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3113, allocations: 0 / 410.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3113, allocations: 0 / 410.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3113, allocations: 11.94 kB / 410.7 MB, free: 15.78 MB / 334.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.0003841/0.3117, allocations: 369 kB / 411 MB, free: 15.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.3117, allocations: 8.031 kB / 411 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.3117, allocations: 30.75 kB / 411.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.3118, allocations: 12.83 kB / 411.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.312, allocations: 192.1 kB / 411.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.312, allocations: 4.375 kB / 411.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.312, allocations: 4.375 kB / 411.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.3123, allocations: 122.4 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3123, allocations: 3.938 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.3123, allocations: 0 / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.3123, allocations: 7.984 kB / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.766e-05/0.3124, allocations: 31.92 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3128, allocations: 365.8 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.3129, allocations: 75.84 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.313, allocations: 38.56 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.313, allocations: 0 / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.313, allocations: 38.5 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.313, allocations: 0 / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002768/0.3133, allocations: 93.61 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.3134, allocations: 110.7 kB / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.3135, allocations: 141.7 kB / 412.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3135, allocations: 25.7 kB / 412.3 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.3136, allocations: 88.14 kB / 412.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.3136, allocations: 11.98 kB / 412.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.3136, allocations: 25.91 kB / 412.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3137, allocations: 314.8 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.3138, allocations: 19.98 kB / 412.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-05/0.3139, allocations: 35.42 kB / 412.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.488e-05/0.314, allocations: 55.3 kB / 412.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.314, allocations: 4 kB / 412.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001366/0.3141, allocations: 69.61 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3141, allocations: 6.656 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.3141, allocations: 4 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3142, allocations: 128 / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.795e-05/0.3142, allocations: 7.938 kB / 412.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3142, allocations: 4 kB / 412.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.738e-05/0.3142, allocations: 7.922 kB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.3143, allocations: 4 kB / 413 MB, free: 13.18 MB / 334.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 9.44e-05/0.3144, allocations: 125.7 kB / 413.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.3144, allocations: 49.59 kB / 413.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3145, allocations: 15.81 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.3145, allocations: 12.03 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3145, allocations: 0 / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3145, allocations: 3.938 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.3147, allocations: 173.6 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3148, allocations: 4 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-06/0.3148, allocations: 0 / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3148, allocations: 0 / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.3148, allocations: 4 kB / 413.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3148, allocations: 0 / 413.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3148, allocations: 0 / 413.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.315, allocations: 259.5 kB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.3151, allocations: 96.94 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3151, allocations: 3.938 kB / 413.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.3152, allocations: 7.984 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.3153, allocations: 4 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3153, allocations: 4 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.458e-05/0.3153, allocations: 107.2 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3153, allocations: 0 / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3156, allocations: 8 kB / 413.8 MB, free: 12.2 MB / 334.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.000441/0.316, allocations: 0.7908 MB / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.3162, allocations: 43.91 kB / 414.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3162, allocations: 0 / 414.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.3163, allocations: 19.92 kB / 414.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3167, allocations: 28.31 kB / 414.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.318, allocations: 1.461 MB / 416.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3182, allocations: 0.6885 MB / 416.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.3183, allocations: 4 kB / 416.8 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.3183, allocations: 23.42 kB / 416.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3183, allocations: 0 / 416.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.3362, allocations: 1.736 MB / 418.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.823, allocations: 2.188 kB / 418.6 MB, free: 7.402 MB / 334.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