Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001422/0.001422, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 71.88 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3825, allocations: 50.54 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.004082/0.3866, allocations: 1.624 MB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.388, allocations: 0.5493 MB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.3881, allocations: 3.938 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.3883, allocations: 7.922 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3885, allocations: 19.8 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.3889, allocations: 59.86 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.389, allocations: 63.78 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3892, allocations: 19.98 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.3893, allocations: 39.78 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.3894, allocations: 23.86 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3894, allocations: 8 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.236e-05/0.3895, allocations: 12 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.3896, allocations: 19.91 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.3896, allocations: 35.73 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.3898, allocations: 67.73 kB / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3898, allocations: 0 / 411.3 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3898, allocations: 3.938 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3898, allocations: 3.938 kB / 411.3 MB, free: 14.99 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.000633/0.3905, allocations: 411.5 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3905, allocations: 12.03 kB / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.3906, allocations: 34.69 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.3909, allocations: 28.73 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.3913, allocations: 212 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3913, allocations: 4.375 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3913, allocations: 4.375 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.3917, allocations: 130 kB / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3917, allocations: 0 / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3917, allocations: 0 / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.3917, allocations: 4 kB / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.3919, allocations: 43.91 kB / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.3924, allocations: 381.8 kB / 412.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.3926, allocations: 83.78 kB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/0.3927, allocations: 38.62 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3927, allocations: 3.938 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3928, allocations: 34.55 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.963e-06/0.3928, allocations: 0 / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004022/0.3932, allocations: 121.5 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.3933, allocations: 102.8 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3934, allocations: 166.1 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3935, allocations: 25.7 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.3935, allocations: 96.5 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3936, allocations: 7.906 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.3936, allocations: 17.72 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3938, allocations: 326.8 kB / 413.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.979e-05/0.3938, allocations: 11.98 kB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.3939, allocations: 39.42 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3941, allocations: 67.34 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3941, allocations: 0 / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002212/0.3943, allocations: 93.53 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3944, allocations: 4 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3944, allocations: 0 / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3944, allocations: 4 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3945, allocations: 11.98 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3945, allocations: 3.938 kB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.3946, allocations: 23.86 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3946, allocations: 4 kB / 413.8 MB, free: 12.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: 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 0.0001076/0.3947, allocations: 129.8 kB / 413.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.421e-05/0.3948, allocations: 45.61 kB / 414 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.3949, allocations: 19.91 kB / 414 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.3949, allocations: 7.984 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3949, allocations: 0 / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3949, allocations: 4 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.3952, allocations: 185.5 kB / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3952, allocations: 0 / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.3953, allocations: 11.98 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3953, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3953, allocations: 11.97 kB / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3953, allocations: 0 / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3953, allocations: 0 / 414.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.3956, allocations: 267.5 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.3957, allocations: 96.98 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3957, allocations: 8 kB / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3959, allocations: 4 kB / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.3959, allocations: 0 / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.3959, allocations: 7.922 kB / 414.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.689e-05/0.396, allocations: 120.1 kB / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.396, allocations: 3.938 kB / 414.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.3963, allocations: 8 kB / 414.7 MB, free: 11.15 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: 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.0006084/0.3969, allocations: 0.7984 MB / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3972, allocations: 56.02 kB / 415.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3972, allocations: 4 kB / 415.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.611e-05/0.3973, allocations: 19.92 kB / 415.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.3978, allocations: 24 kB / 415.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3995, allocations: 1.581 MB / 417.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3998, allocations: 0.7002 MB / 417.9 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.3999, allocations: 7.984 kB / 417.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.4, allocations: 31.05 kB / 417.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4, allocations: 0 / 417.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.4222, allocations: 1.966 MB / 419.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.405, allocations: 10.27 kB / 419.9 MB, free: 5.941 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches