Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009387/0.0009387, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8979/0.8979, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.021e-05, allocations: 10.22 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00165/0.001671, allocations: 0.8988 MB / 325.5 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003063/0.001977, allocations: 147.4 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.002048, allocations: 4 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.982e-05/0.002138, allocations: 19.8 kB / 325.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.002275, allocations: 15.91 kB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.002446, allocations: 43.89 kB / 325.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.00255, allocations: 75.77 kB / 325.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.002652, allocations: 27.97 kB / 325.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.002697, allocations: 35.91 kB / 325.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.002769, allocations: 31.89 kB / 325.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.002793, allocations: 4 kB / 325.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.002805, allocations: 8 kB / 325.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.002854, allocations: 35.84 kB / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.002886, allocations: 19.92 kB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.003031, allocations: 99.56 kB / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003033, allocations: 0 / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.003034, allocations: 0 / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.003038, allocations: 4 kB / 326 MB, free: 14.47 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003661/0.003404, allocations: 341.8 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.003438, allocations: 8.031 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.003468, allocations: 38.75 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.003493, allocations: 12.84 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.003663, allocations: 156 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.003674, allocations: 8.375 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.003685, allocations: 8.375 kB / 326.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.004042, allocations: 251.7 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004049, allocations: 192 / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.00406, allocations: 8.375 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.004065, allocations: 8.062 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.101e-05/0.004126, allocations: 47.91 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.004255, allocations: 156.7 kB / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.004429, allocations: 145.4 kB / 327.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.004507, allocations: 81.09 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.004517, allocations: 4 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.004536, allocations: 38.5 kB / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.01e-07/0.004537, allocations: 0 / 327.3 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002134/0.004751, allocations: 169.5 kB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.004797, allocations: 66.3 kB / 327.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.004886, allocations: 171.1 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.004895, allocations: 29.7 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.004933, allocations: 92.47 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.004947, allocations: 7.938 kB / 327.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.004973, allocations: 25.72 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.005044, allocations: 322.8 kB / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.005054, allocations: 0 / 328.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.005071, allocations: 21.72 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.005099, allocations: 25.64 kB / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0051, allocations: 0 / 328.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001904/0.005291, allocations: 53.66 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.005301, allocations: 4 kB / 328.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005305, allocations: 4.062 kB / 328.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.005315, allocations: 0 / 328.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.00536, allocations: 19.86 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.005364, allocations: 3.938 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/0.005375, allocations: 0 / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.005381, allocations: 4 kB / 328.3 MB, free: 11.98 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: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * 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 6.713e-05/0.005448, allocations: 125.8 kB / 328.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.005745, allocations: 137.5 kB / 328.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.005777, allocations: 21.12 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.00578, allocations: 4 kB / 328.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.005785, allocations: 7.938 kB / 328.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.005789, allocations: 0 / 328.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.324e-05/0.005863, allocations: 152.7 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005863, allocations: 0 / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.005931, allocations: 31.92 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.005934, allocations: 8 kB / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.005941, allocations: 0 / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005942, allocations: 0 / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.005943, allocations: 3.938 kB / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.00608, allocations: 164.9 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.006124, allocations: 31.83 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.006141, allocations: 11.98 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/0.006157, allocations: 4 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-06/0.00616, allocations: 7.875 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.006165, allocations: 4 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.75e-05/0.006222, allocations: 118.3 kB / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006222, allocations: 0 / 329.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.006355, allocations: 16 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0003679/0.006723, allocations: 0.771 MB / 329.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.406e-05/0.006817, allocations: 55.97 kB / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006819, allocations: 0 / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.006819, allocations: 3.938 kB / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.007083, allocations: 95.83 kB / 330.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007536/0.007837, allocations: 1.377 MB / 331.4 MB, free: 8.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.148e-05/0.007899, allocations: 105.4 kB / 331.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.812e-05/0.007917, allocations: 12.61 kB / 331.6 MB, free: 8.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.007956, allocations: 28.44 kB / 331.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007957, allocations: 0 / 331.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.02492, allocations: 3.233 MB / 334.8 MB, free: 5.41 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.565/6.59, allocations: 10.88 kB / 334.8 MB, free: 5.402 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.255997451022267]