Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.00135/0.00135, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001693/0.001694, 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.583/1.583, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3429, allocations: 50.55 MB / 408.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002932/0.3458, allocations: 1.53 MB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004311/0.3463, allocations: 143.5 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.567e-05/0.3464, allocations: 3.938 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.3465, allocations: 11.94 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.222e-05/0.3466, allocations: 15.91 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.3469, allocations: 27.86 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.347, allocations: 47.83 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3471, allocations: 15.98 kB / 410.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.3472, allocations: 19.92 kB / 410.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.3472, allocations: 15.92 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.3473, allocations: 8 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.3473, allocations: 4 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.3474, allocations: 15.92 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.3474, allocations: 27.75 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.3475, allocations: 55.8 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3475, allocations: 0 / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3475, allocations: 0 / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3476, allocations: 0 / 410.7 MB, free: 15.61 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.0004645/0.348, allocations: 380.8 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3481, allocations: 16.03 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.3481, allocations: 38.73 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.3481, allocations: 8.844 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3484, allocations: 202.3 kB / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.3484, allocations: 384 / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3485, allocations: 8.312 kB / 411.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.3488, allocations: 122.5 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3488, allocations: 3.938 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3488, allocations: 4 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.3488, allocations: 4 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.3489, allocations: 35.91 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.3494, allocations: 373.8 kB / 411.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3495, allocations: 75.78 kB / 411.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.3496, allocations: 50.56 kB / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3496, allocations: 0 / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3497, allocations: 30.56 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3497, allocations: 0 / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003437/0.35, allocations: 117.7 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.3501, allocations: 106.8 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3502, allocations: 141.8 kB / 412.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3502, allocations: 25.7 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.3503, allocations: 96.08 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.3503, allocations: 7.891 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.3504, allocations: 21.91 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3505, allocations: 314.8 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.3505, allocations: 19.97 kB / 412.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.3506, allocations: 39.42 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3508, allocations: 67.28 kB / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3508, allocations: 0 / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001775/0.351, allocations: 77.52 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.351, allocations: 8 kB / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.351, allocations: 8.109 kB / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.351, allocations: 0 / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.3511, allocations: 15.94 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3511, allocations: 0 / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.3512, allocations: 11.92 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.3512, allocations: 0 / 413.1 MB, free: 12.91 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: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * 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.0001154/0.3513, allocations: 125.7 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.042e-05/0.3514, allocations: 57.59 kB / 413.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.3515, allocations: 19.81 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.3515, allocations: 4 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3515, allocations: 0 / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3515, allocations: 0 / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.3517, allocations: 181.5 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.3517, allocations: 4 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.3518, allocations: 11.92 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3518, allocations: 0 / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-06/0.3518, allocations: 4 kB / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3518, allocations: 0 / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3518, allocations: 4.031 kB / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3521, allocations: 267.6 kB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.3522, allocations: 97 kB / 413.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3522, allocations: 0 / 413.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.3523, allocations: 11.98 kB / 413.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.3523, allocations: 3.938 kB / 413.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3523, allocations: 7.938 kB / 413.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.229e-05/0.3524, allocations: 110 kB / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3524, allocations: 0 / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3527, allocations: 8 kB / 414 MB, free: 11.91 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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.0007734/0.3535, allocations: 0.7945 MB / 414.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.3537, allocations: 52.08 kB / 414.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3537, allocations: 4.062 kB / 414.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.3538, allocations: 19.92 kB / 414.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.3543, allocations: 31.56 kB / 414.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.356, allocations: 1.486 MB / 416.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3563, allocations: 0.6963 MB / 417 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.223e-05/0.3564, allocations: 7.984 kB / 417.1 MB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.3564, allocations: 15.44 kB / 417.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3564, allocations: 0 / 417.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.3756, allocations: 1.745 MB / 418.8 MB, free: 7.047 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/8.057, allocations: 3.984 kB / 418.8 MB, free: 7.043 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches