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.001191/0.001191, allocations: 116.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 202 kB / 18.73 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.516/1.516, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3859, allocations: 50.53 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003332/0.3892, allocations: 1.628 MB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3904, allocations: 0.561 MB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3905, allocations: 3.938 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.987e-05/0.3906, allocations: 7.875 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.3908, allocations: 23.84 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.3911, allocations: 59.56 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.3913, allocations: 63.78 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3914, allocations: 23.98 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.3915, allocations: 31.84 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.3916, allocations: 27.86 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3917, allocations: 4 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.698e-05/0.3917, allocations: 8 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.3918, allocations: 15.92 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.3918, allocations: 39.73 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.392, allocations: 79.64 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.392, allocations: 0 / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.392, allocations: 7.938 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.392, allocations: 0 / 411.3 MB, free: 14.94 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.0005518/0.3926, allocations: 400.7 kB / 411.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3926, allocations: 8.031 kB / 411.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.3927, allocations: 34.75 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.3929, allocations: 32.72 kB / 411.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3932, allocations: 208 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3932, allocations: 8.359 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.3932, allocations: 4.312 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.3936, allocations: 130 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3936, allocations: 4 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3936, allocations: 0 / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.3936, allocations: 7.984 kB / 412.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3938, allocations: 35.97 kB / 412.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.3943, allocations: 385.7 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3944, allocations: 79.78 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/0.3945, allocations: 42.61 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.3945, allocations: 0 / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.3946, allocations: 34.56 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3946, allocations: 0 / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003737/0.395, allocations: 117.4 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.395, allocations: 111.1 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3952, allocations: 154.2 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3952, allocations: 29.64 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.3953, allocations: 96.12 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.3953, allocations: 11.89 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.3953, allocations: 13.72 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3955, allocations: 326.8 kB / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.3955, allocations: 15.98 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.044e-05/0.3956, allocations: 47.41 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3958, allocations: 67.34 kB / 413.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3958, allocations: 0 / 413.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001931/0.396, allocations: 93.44 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.396, allocations: 6.656 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.396, allocations: 0 / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.396, allocations: 4 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.3961, allocations: 11.98 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3961, allocations: 4.125 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.3962, allocations: 7.938 kB / 413.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3962, allocations: 4 kB / 413.8 MB, free: 12.15 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 8.724e-05/0.3963, allocations: 125.7 kB / 413.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.3964, allocations: 57.53 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.3965, allocations: 19.91 kB / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.3965, allocations: 4 kB / 414 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3965, allocations: 0 / 414 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3965, allocations: 4.031 kB / 414 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.3968, allocations: 193.5 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3968, allocations: 0 / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.3968, allocations: 11.98 kB / 414.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3968, allocations: 0 / 414.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3969, allocations: 4 kB / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3969, allocations: 0 / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3969, allocations: 0 / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3971, allocations: 279.4 kB / 414.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.3972, allocations: 89 kB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3972, allocations: 8 kB / 414.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.3974, allocations: 4 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.3974, allocations: 7.922 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.3974, allocations: 0 / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.784e-05/0.3975, allocations: 124.1 kB / 414.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3975, allocations: 0 / 414.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.3978, allocations: 8 kB / 414.7 MB, free: 11.12 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.0005268/0.3983, allocations: 0.8022 MB / 415.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.3985, allocations: 55.84 kB / 415.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3985, allocations: 0 / 415.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.3986, allocations: 19.98 kB / 415.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.3991, allocations: 23.77 kB / 415.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.4007, allocations: 1.586 MB / 417.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.401, allocations: 0.6963 MB / 417.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.4011, allocations: 7.984 kB / 417.9 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.4011, allocations: 27.42 kB / 417.9 MB, free: 7.738 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4011, allocations: 0 / 417.9 MB, free: 7.738 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.4205, allocations: 1.971 MB / 419.9 MB, free: 5.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.519, allocations: 11.92 kB / 419.9 MB, free: 5.898 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