Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.00182/0.00182, allocations: 105.9 kB / 17.06 MB, free: 6.113 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.00204/0.00204, allocations: 196.1 kB / 18 MB, free: 5.191 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.595/1.595, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 43.94 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3092, allocations: 49.43 MB / 400.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003241/0.3125, allocations: 1.613 MB / 401.9 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.3134, allocations: 490 kB / 402.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.3135, allocations: 4 kB / 402.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.3136, allocations: 11.86 kB / 402.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3137, allocations: 11.81 kB / 402.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.314, allocations: 43.89 kB / 402.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.3141, allocations: 59.78 kB / 402.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3142, allocations: 27.97 kB / 402.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.312e-05/0.3143, allocations: 23.86 kB / 402.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.3144, allocations: 27.86 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3144, allocations: 4 kB / 402.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.549e-05/0.3145, allocations: 4 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.3145, allocations: 19.92 kB / 402.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.3146, allocations: 35.78 kB / 402.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.3147, allocations: 70.62 kB / 402.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3147, allocations: 7.922 kB / 402.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3148, allocations: 0 / 402.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3148, allocations: 0 / 402.7 MB, free: 6.395 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.0005907/0.3154, allocations: 394.9 kB / 403.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3154, allocations: 12.03 kB / 403.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.3155, allocations: 38.75 kB / 403.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.3155, allocations: 8.891 kB / 403.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3158, allocations: 207.8 kB / 403.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3158, allocations: 4.375 kB / 403.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3158, allocations: 4.312 kB / 403.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.3161, allocations: 137.9 kB / 403.5 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3162, allocations: 4 kB / 403.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3162, allocations: 0 / 403.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.3162, allocations: 4 kB / 403.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.3164, allocations: 35.97 kB / 403.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.3169, allocations: 377.8 kB / 403.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.317, allocations: 83.77 kB / 404 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.3171, allocations: 34.62 kB / 404 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.3172, allocations: 12 kB / 404 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.3172, allocations: 30.56 kB / 404 MB, free: 4.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 4.759e-06/0.3172, allocations: 3.984 kB / 404 MB, free: 4.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003883/0.3176, allocations: 121.5 kB / 404.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.3177, allocations: 111.1 kB / 404.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3179, allocations: 150.2 kB / 404.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3179, allocations: 25.7 kB / 404.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.318, allocations: 96.09 kB / 404.5 MB, free: 4.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.318, allocations: 3.953 kB / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.318, allocations: 21.7 kB / 404.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3182, allocations: 318.8 kB / 404.9 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.3183, allocations: 23.97 kB / 404.9 MB, free: 3.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/0.3184, allocations: 39.42 kB / 404.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3185, allocations: 71.34 kB / 405 MB, free: 3.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3185, allocations: 4 kB / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002138/0.3188, allocations: 89.48 kB / 405.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3188, allocations: 4 kB / 405.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3188, allocations: 0 / 405.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3188, allocations: 4 kB / 405.1 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.3189, allocations: 11.98 kB / 405.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3189, allocations: 4.125 kB / 405.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.319, allocations: 7.938 kB / 405.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.319, allocations: 4 kB / 405.1 MB, free: 3.633 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: 0 () * 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.902e-05/0.3191, allocations: 125.8 kB / 405.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/0.3192, allocations: 53.58 kB / 405.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.3193, allocations: 11.88 kB / 405.3 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.3193, allocations: 4 kB / 405.3 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3193, allocations: 3.984 kB / 405.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3193, allocations: 8.031 kB / 405.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.3196, allocations: 181.6 kB / 405.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3196, allocations: 3.984 kB / 405.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.3196, allocations: 8 kB / 405.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3197, allocations: 0 / 405.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3197, allocations: 4 kB / 405.5 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3197, allocations: 11.92 kB / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3197, allocations: 0 / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.32, allocations: 279.4 kB / 405.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.3201, allocations: 93.05 kB / 405.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.3201, allocations: 0 / 405.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3203, allocations: 7.984 kB / 405.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.3203, allocations: 7.938 kB / 405.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3203, allocations: 0 / 405.9 MB, free: 2.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.931e-05/0.3204, allocations: 118.1 kB / 406 MB, free: 2.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3204, allocations: 0 / 406 MB, free: 2.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.3207, allocations: 12 kB / 406 MB, free: 2.613 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: 0 () * 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.0006842/0.3214, allocations: 0.8106 MB / 406.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.3216, allocations: 47.91 kB / 406.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3216, allocations: 0 / 406.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.106e-05/0.3217, allocations: 19.98 kB / 406.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.3222, allocations: 39.27 kB / 407 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.324, allocations: 1.57 MB / 408.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3244, allocations: 0.7 MB / 409.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.3244, allocations: 12.22 kB / 409.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.3245, allocations: 23.42 kB / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3245, allocations: 0 / 409.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.3483, allocations: 1.884 MB / 411.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.707, allocations: 19.8 kB / 411.2 MB, free: 13.47 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches