Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001239/0.001239, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 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.001466/0.001466, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 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 1.363/1.363, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 43.92 kB / 378.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2245, allocations: 53.35 MB / 431.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002349/0.2268, allocations: 1.06 MB / 433 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003526/0.2272, allocations: 143.5 kB / 433.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.2273, allocations: 0 / 433.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.291e-05/0.2273, allocations: 15.86 kB / 433.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.306e-05/0.2274, allocations: 7.875 kB / 433.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.2277, allocations: 51.89 kB / 433.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.2278, allocations: 71.77 kB / 433.3 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2279, allocations: 27.97 kB / 433.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.2279, allocations: 27.86 kB / 433.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.228, allocations: 31.83 kB / 433.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.228, allocations: 8 kB / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.228, allocations: 4 kB / 433.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.2281, allocations: 27.86 kB / 433.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.2281, allocations: 35.75 kB / 433.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.2283, allocations: 95.86 kB / 433.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2283, allocations: 8 kB / 433.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2283, allocations: 0 / 433.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2283, allocations: 0 / 433.5 MB, free: 5.246 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004426/0.2288, allocations: 333.8 kB / 433.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2288, allocations: 8.031 kB / 433.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.92e-05/0.2288, allocations: 8.141 kB / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.2289, allocations: 38.75 kB / 433.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.2289, allocations: 12.89 kB / 433.9 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.2291, allocations: 154.8 kB / 434.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2291, allocations: 12.33 kB / 434.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.2291, allocations: 8.125 kB / 434.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.2295, allocations: 213.5 kB / 434.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2295, allocations: 0 / 434.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2295, allocations: 4 kB / 434.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2295, allocations: 4 kB / 434.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/0.2296, allocations: 39.92 kB / 434.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.2298, allocations: 156.7 kB / 434.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.23, allocations: 118.7 kB / 434.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.2301, allocations: 77.27 kB / 434.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.619e-06/0.2301, allocations: 0 / 434.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2301, allocations: 42.5 kB / 434.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 8.52e-07/0.2301, allocations: 0 / 434.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002755/0.2304, allocations: 148.5 kB / 434.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.2305, allocations: 59.41 kB / 434.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.2306, allocations: 152.1 kB / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2306, allocations: 29.7 kB / 435.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.2307, allocations: 88.47 kB / 435.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.2307, allocations: 11.92 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.2308, allocations: 41.61 kB / 435.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2309, allocations: 322.8 kB / 435.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.2309, allocations: 19.98 kB / 435.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.231, allocations: 117.7 kB / 435.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.2312, allocations: 153.4 kB / 435.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2312, allocations: 4 kB / 435.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000209/0.2314, allocations: 157.3 kB / 436 MB, free: 2.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2314, allocations: 8 kB / 436 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2314, allocations: 4 kB / 436 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2315, allocations: 7.984 kB / 436 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2316, allocations: 28.44 kB / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2316, allocations: 11.98 kB / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.2316, allocations: 15.95 kB / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2316, allocations: 8 kB / 436.1 MB, free: 2.379 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001063/0.2317, allocations: 137.6 kB / 436.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.2319, allocations: 121.5 kB / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.232, allocations: 17.12 kB / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.232, allocations: 3.984 kB / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.232, allocations: 3.938 kB / 436.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.232, allocations: 3.984 kB / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.2321, allocations: 168.6 kB / 436.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2321, allocations: 0 / 436.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.828e-05/0.2322, allocations: 23.98 kB / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2322, allocations: 0 / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.2322, allocations: 4 kB / 436.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2322, allocations: 0 / 436.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2322, allocations: 0 / 436.6 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.2324, allocations: 163.9 kB / 436.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.2324, allocations: 27.89 kB / 436.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2325, allocations: 0 / 436.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.58e-05/0.2325, allocations: 4 kB / 436.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-06/0.2325, allocations: 4 kB / 436.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.2325, allocations: 0 / 436.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.981e-05/0.2326, allocations: 113.7 kB / 436.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2326, allocations: 0 / 436.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.2328, allocations: 16 kB / 436.9 MB, free: 1.512 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.000614/0.2334, allocations: 0.7411 MB / 437.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.2336, allocations: 87.78 kB / 437.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2336, allocations: 1.062 kB / 437.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2336, allocations: 0 / 437.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.2339, allocations: 78.73 kB / 437.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.2356, allocations: 1.668 MB / 439.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.236, allocations: 0.7123 MB / 440.2 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.236, allocations: 12.64 kB / 440.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.2361, allocations: 23.44 kB / 440.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2361, allocations: 4.188 kB / 440.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.2585, allocations: 2.717 MB / 442.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.8, allocations: 0 / 442.9 MB, free: 11.39 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,add1.k1,add1.k2,add1.u1,add1.u2,add1.y,assignClock1.n,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const.k,const.y,const1.k,const1.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(unitDelay1.u),previous(unitDelay2.u),time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start [Calling sys.exit(0), Time elapsed: 13.164965871954337]