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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008433/0.0008433, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008045/0.0008045, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8873/0.8873, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.701e-05, allocations: 3.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002135/0.002162, allocations: 1.554 MB / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003789/0.002541, allocations: 151.4 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.002616, allocations: 0 / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.989e-05/0.002715, allocations: 7.922 kB / 326.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.568e-05/0.002811, allocations: 7.938 kB / 326.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.003015, allocations: 43.83 kB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.003125, allocations: 39.84 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.003224, allocations: 15.92 kB / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.003274, allocations: 19.98 kB / 326.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.003319, allocations: 15.92 kB / 326.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.003343, allocations: 4 kB / 326.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.003353, allocations: 4 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.003406, allocations: 15.92 kB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.003433, allocations: 15.92 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.00354, allocations: 55.75 kB / 326.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.003543, allocations: 3.984 kB / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.003544, allocations: 0 / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.003548, allocations: 0 / 326.5 MB, free: 13.93 MB / 298.7 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.000384/0.003932, allocations: 302 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.003973, allocations: 15.98 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.004008, allocations: 38.73 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.119e-05/0.004029, allocations: 8.891 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.004252, allocations: 141.5 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.004262, allocations: 4.375 kB / 327 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.004274, allocations: 8.312 kB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.004553, allocations: 110.5 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004562, allocations: 8.125 kB / 327.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.004574, allocations: 12.36 kB / 327.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.004596, allocations: 4.125 kB / 327.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.045e-05/0.004666, allocations: 35.97 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.004977, allocations: 325 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.678e-05/0.005064, allocations: 87.7 kB / 327.5 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.005106, allocations: 38.62 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.005115, allocations: 3.938 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.005143, allocations: 38.56 kB / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.005144, allocations: 0 / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002128/0.005357, allocations: 109.4 kB / 327.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.005406, allocations: 106.8 kB / 327.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.005493, allocations: 153.1 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.005502, allocations: 29.7 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.005546, allocations: 92.12 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.005556, allocations: 3.953 kB / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.005582, allocations: 17.72 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.005656, allocations: 314.8 kB / 328.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.005685, allocations: 15.98 kB / 328.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.005715, allocations: 25.7 kB / 328.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.005773, allocations: 49.69 kB / 328.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005775, allocations: 0 / 328.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.291e-05/0.005868, allocations: 69.56 kB / 328.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.00588, allocations: 4 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005884, allocations: 3.938 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005895, allocations: 4 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.005946, allocations: 7.938 kB / 328.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.00595, allocations: 4.062 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.005971, allocations: 11.92 kB / 328.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.005977, allocations: 0 / 328.6 MB, free: 11.51 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[2],sample1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.277e-05/0.00606, allocations: 121.8 kB / 328.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.006117, allocations: 53.59 kB / 328.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.006139, allocations: 19.91 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.00615, allocations: 4 kB / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006153, allocations: 0 / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006157, allocations: 0 / 328.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.006308, allocations: 144.8 kB / 329 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.006312, allocations: 4 kB / 329 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.006335, allocations: 11.88 kB / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.006336, allocations: 0 / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.006344, allocations: 4 kB / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006346, allocations: 0 / 329 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.006347, allocations: 3.984 kB / 329 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.006499, allocations: 263.6 kB / 329.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.006529, allocations: 15.89 kB / 329.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.006542, allocations: 8 kB / 329.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.006596, allocations: 3.984 kB / 329.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.006629, allocations: 7.938 kB / 329.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.006632, allocations: 3.938 kB / 329.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.215e-05/0.006684, allocations: 115.2 kB / 329.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006684, allocations: 0 / 329.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.006854, allocations: 4 kB / 329.4 MB, free: 10.66 MB / 298.7 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.0003407/0.007195, allocations: 0.7945 MB / 330.2 MB, free: 9.836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.007308, allocations: 43.91 kB / 330.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.00731, allocations: 4 kB / 330.2 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.082e-05/0.007341, allocations: 11.98 kB / 330.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.007621, allocations: 20.02 kB / 330.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.008523, allocations: 1.46 MB / 331.7 MB, free: 8.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.017e-05/0.008584, allocations: 79.33 kB / 331.8 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.592e-05/0.00861, allocations: 12 kB / 331.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.008645, allocations: 28.42 kB / 331.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008646, allocations: 0 / 331.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.02418, allocations: 2.378 MB / 334.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.73, allocations: 0 / 334.2 MB, free: 5.801 MB / 298.7 MB " [Timeout remaining time 653] (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 --stepSize=3.99122e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.n,sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2],step1.height,step1.offset,step1.startTime,step1.y,step2.height,step2.offset,step2.startTime,step2.y,time [Calling sys.exit(0), Time elapsed: 8.373088673688471]