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.001769/0.001769, allocations: 111.4 kB / 17.06 MB, free: 5.812 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.002523/0.002523, allocations: 200 kB / 18 MB, free: 4.949 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000996/0.000996, allocations: 47.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2593, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003087/0.2624, allocations: 1.605 MB / 401.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008457/0.2633, allocations: 492.2 kB / 402.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.411e-05/0.2634, allocations: 3.938 kB / 402.3 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.2635, allocations: 7.875 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.2636, allocations: 19.84 kB / 402.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.2639, allocations: 43.89 kB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.264, allocations: 63.72 kB / 402.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2642, allocations: 19.98 kB / 402.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.2642, allocations: 31.84 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.2643, allocations: 23.86 kB / 402.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.2643, allocations: 4 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.2644, allocations: 4 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.2644, allocations: 19.92 kB / 402.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.2645, allocations: 31.8 kB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2646, allocations: 71.67 kB / 402.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2646, allocations: 0 / 402.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2646, allocations: 4 kB / 402.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2646, allocations: 0 / 402.7 MB, free: 6.375 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.0004988/0.2651, allocations: 392.7 kB / 403.1 MB, free: 5.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2652, allocations: 8.031 kB / 403.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.2652, allocations: 42.73 kB / 403.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.2653, allocations: 8.844 kB / 403.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.2655, allocations: 196.1 kB / 403.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2655, allocations: 8.375 kB / 403.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2655, allocations: 8.359 kB / 403.3 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.2658, allocations: 130 kB / 403.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2659, allocations: 3.938 kB / 403.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.2659, allocations: 0 / 403.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.2659, allocations: 8 kB / 403.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.2661, allocations: 31.97 kB / 403.5 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.2665, allocations: 385.7 kB / 403.9 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.2667, allocations: 83.77 kB / 404 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.2668, allocations: 38.62 kB / 404 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.2668, allocations: 0 / 404 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2668, allocations: 42.56 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2668, allocations: 0 / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003547/0.2672, allocations: 113.4 kB / 404.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.2673, allocations: 106.8 kB / 404.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.2674, allocations: 146.6 kB / 404.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.2674, allocations: 37.64 kB / 404.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.2675, allocations: 88.12 kB / 404.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.2675, allocations: 15.84 kB / 404.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.2675, allocations: 17.7 kB / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/0.2676, allocations: 318.8 kB / 404.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.2677, allocations: 19.98 kB / 404.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.2678, allocations: 47.41 kB / 404.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2679, allocations: 67.34 kB / 405 MB, free: 3.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2679, allocations: 0 / 405 MB, free: 3.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001863/0.2681, allocations: 93.44 kB / 405.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2682, allocations: 8 kB / 405.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2682, allocations: 0 / 405.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2682, allocations: 0 / 405.1 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.2683, allocations: 15.98 kB / 405.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.2683, allocations: 0 / 405.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.2684, allocations: 7.938 kB / 405.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.2684, allocations: 4.125 kB / 405.1 MB, free: 3.621 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 7.605e-05/0.2685, allocations: 125.8 kB / 405.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.2686, allocations: 57.53 kB / 405.3 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.2686, allocations: 11.88 kB / 405.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.2686, allocations: 4 kB / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2686, allocations: 0 / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2686, allocations: 0 / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.2688, allocations: 189.5 kB / 405.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2688, allocations: 0 / 405.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.2689, allocations: 12.02 kB / 405.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2689, allocations: 4 kB / 405.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2689, allocations: 4 kB / 405.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2689, allocations: 0 / 405.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2689, allocations: 0 / 405.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.2692, allocations: 279.4 kB / 405.8 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.2693, allocations: 93 kB / 405.9 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.2693, allocations: 0 / 405.9 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.2694, allocations: 4.141 kB / 405.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.2695, allocations: 11.97 kB / 405.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.2695, allocations: 4 kB / 405.9 MB, free: 2.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.626e-05/0.2696, allocations: 115.7 kB / 406 MB, free: 2.621 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.043e-06/0.2696, allocations: 0 / 406 MB, free: 2.621 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.2698, allocations: 15.94 kB / 406 MB, free: 2.605 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.0005043/0.2704, allocations: 0.8105 MB / 406.8 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.2706, allocations: 59.84 kB / 406.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2706, allocations: 0 / 406.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.2706, allocations: 19.98 kB / 406.9 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.2711, allocations: 29.45 kB / 406.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2725, allocations: 1.571 MB / 408.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.2728, allocations: 0.7 MB / 409.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.958e-05/0.2728, allocations: 11.98 kB / 409.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.2729, allocations: 19.42 kB / 409.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2729, allocations: 0 / 409.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.265/2.538, allocations: 1.901 MB / 411.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.39/18.93, allocations: 18.3 kB / 411.2 MB, free: 13.44 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