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.001674/0.001674, allocations: 117.2 kB / 17.78 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 200.6 kB / 18.73 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 59.91 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2881, allocations: 50.54 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00291/0.291, allocations: 1.627 MB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2921, allocations: 0.5532 MB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/0.2922, allocations: 4 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.2924, allocations: 11.86 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2925, allocations: 11.86 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.2928, allocations: 67.8 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.2929, allocations: 63.78 kB / 411.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.293, allocations: 16 kB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2932, allocations: 43.77 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.2933, allocations: 23.86 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.2933, allocations: 4 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.803e-05/0.2933, allocations: 12 kB / 411.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.2934, allocations: 19.92 kB / 411.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.2935, allocations: 39.72 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.2937, allocations: 70.62 kB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2937, allocations: 0 / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2937, allocations: 3.938 kB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.2937, allocations: 4 kB / 411.4 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.0005664/0.2943, allocations: 406.9 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2943, allocations: 8.031 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.2944, allocations: 34.75 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.2946, allocations: 28.88 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.2949, allocations: 220 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2949, allocations: 4.375 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.2949, allocations: 4.375 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.2952, allocations: 126 kB / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2953, allocations: 0 / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2953, allocations: 8 kB / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.2953, allocations: 3.984 kB / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.2955, allocations: 39.91 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.2959, allocations: 385.8 kB / 412.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.2961, allocations: 75.78 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.2962, allocations: 42.62 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2962, allocations: 0 / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2963, allocations: 42.48 kB / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2963, allocations: 0 / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003833/0.2967, allocations: 121.7 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.2967, allocations: 102.8 kB / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2969, allocations: 154.2 kB / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2969, allocations: 29.64 kB / 413.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.297, allocations: 100.1 kB / 413.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.297, allocations: 3.953 kB / 413.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.2971, allocations: 21.91 kB / 413.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2972, allocations: 326.8 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.2973, allocations: 15.98 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.478e-05/0.2974, allocations: 43.36 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.2976, allocations: 71.33 kB / 413.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2976, allocations: 4 kB / 413.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002056/0.2978, allocations: 81.56 kB / 413.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2978, allocations: 4.125 kB / 413.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2978, allocations: 8 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2978, allocations: 3.984 kB / 413.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.2979, allocations: 8 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.298, allocations: 0 / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/0.298, allocations: 11.92 kB / 413.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.298, allocations: 4 kB / 413.9 MB, free: 12.13 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.0001066/0.2982, allocations: 129.7 kB / 414 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/0.2983, allocations: 57.61 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.2983, allocations: 15.81 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.2983, allocations: 4 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2983, allocations: 4 kB / 414.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2983, allocations: 0 / 414.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.2986, allocations: 181.6 kB / 414.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2986, allocations: 4 kB / 414.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.2987, allocations: 7.984 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2987, allocations: 0 / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.2987, allocations: 4 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2987, allocations: 0 / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2987, allocations: 4.031 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.299, allocations: 275.5 kB / 414.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.2991, allocations: 96.98 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2991, allocations: 4 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2993, allocations: 8 kB / 414.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.2993, allocations: 3.984 kB / 414.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2993, allocations: 4 kB / 414.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.465e-05/0.2994, allocations: 120.1 kB / 414.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2994, allocations: 0 / 414.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000278/0.2997, allocations: 8 kB / 414.8 MB, free: 11.11 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.0005983/0.3003, allocations: 0.814 MB / 415.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3005, allocations: 47.91 kB / 415.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3006, allocations: 4.25 kB / 415.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/0.3006, allocations: 15.98 kB / 415.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3011, allocations: 37.8 kB / 415.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.3028, allocations: 1.574 MB / 417.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3032, allocations: 0.7107 MB / 418 MB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.3033, allocations: 7.984 kB / 418 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.3033, allocations: 23.42 kB / 418 MB, free: 7.723 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3033, allocations: 0 / 418 MB, free: 7.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.3261, allocations: 1.928 MB / 419.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/8.885, allocations: 22.64 kB / 420 MB, free: 5.914 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.1.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