Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.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.001554/0.001554, allocations: 109.1 kB / 21.22 MB, free: 0.7461 MB / 14.72 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.002056/0.002056, allocations: 211.7 kB / 24.53 MB, free: 4.137 MB / 14.72 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 1.505/1.505, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 63.91 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.293, allocations: 53.4 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002429/0.2954, allocations: 1.054 MB / 433 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003692/0.2958, allocations: 139.5 kB / 433.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.463e-05/0.2959, allocations: 3.938 kB / 433.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.296, allocations: 11.88 kB / 433.2 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2961, allocations: 15.86 kB / 433.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.2963, allocations: 43.89 kB / 433.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.2964, allocations: 63.83 kB / 433.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.2966, allocations: 35.97 kB / 433.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.2966, allocations: 31.84 kB / 433.4 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.2967, allocations: 31.8 kB / 433.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.2967, allocations: 4 kB / 433.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.2967, allocations: 8 kB / 433.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.421e-05/0.2968, allocations: 31.84 kB / 433.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.2968, allocations: 35.75 kB / 433.5 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.297, allocations: 87.94 kB / 433.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.297, allocations: 0 / 433.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.297, allocations: 0 / 433.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.297, allocations: 0 / 433.6 MB, free: 5.117 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.0004828/0.2975, allocations: 333.8 kB / 433.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.2975, allocations: 12.03 kB / 433.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.775e-05/0.2975, allocations: 4.141 kB / 433.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.2976, allocations: 46.67 kB / 434 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.2976, allocations: 12.89 kB / 434 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2979, allocations: 154.5 kB / 434.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2979, allocations: 12.33 kB / 434.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.2979, allocations: 12.12 kB / 434.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.2983, allocations: 213.6 kB / 434.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2983, allocations: 4 kB / 434.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2983, allocations: 4 kB / 434.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2983, allocations: 8 kB / 434.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.2984, allocations: 31.92 kB / 434.4 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.2986, allocations: 164.7 kB / 434.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.2988, allocations: 115 kB / 434.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.2989, allocations: 79.8 kB / 434.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.2989, allocations: 4 kB / 434.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.299, allocations: 34.5 kB / 434.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.299, allocations: 7.938 kB / 434.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000303/0.2993, allocations: 153.5 kB / 434.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.2993, allocations: 59.41 kB / 435 MB, free: 3.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.2995, allocations: 138.4 kB / 435.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2995, allocations: 29.7 kB / 435.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.2996, allocations: 100.4 kB / 435.3 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.2996, allocations: 11.94 kB / 435.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.2996, allocations: 37.66 kB / 435.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2998, allocations: 322.8 kB / 435.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.2998, allocations: 19.98 kB / 435.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3, allocations: 117.7 kB / 435.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3001, allocations: 153.5 kB / 435.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3001, allocations: 0 / 435.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002264/0.3004, allocations: 153.4 kB / 436.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3004, allocations: 8 kB / 436.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3004, allocations: 0 / 436.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.3004, allocations: 8 kB / 436.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3005, allocations: 35.92 kB / 436.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3005, allocations: 7.938 kB / 436.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.3006, allocations: 8.391 kB / 436.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.3006, allocations: 15.98 kB / 436.1 MB, free: 2.238 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.0001365/0.3008, allocations: 145.6 kB / 436.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.3009, allocations: 124.9 kB / 436.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.301, allocations: 13.12 kB / 436.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.301, allocations: 4 kB / 436.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.301, allocations: 0 / 436.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.301, allocations: 0 / 436.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.3011, allocations: 164.6 kB / 436.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3011, allocations: 0 / 436.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.3012, allocations: 31.94 kB / 436.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3012, allocations: 0 / 436.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3012, allocations: 0 / 436.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3012, allocations: 4 kB / 436.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3012, allocations: 3.984 kB / 436.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.3014, allocations: 148.9 kB / 436.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.3015, allocations: 27.89 kB / 436.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3015, allocations: 4 kB / 436.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.3016, allocations: 8 kB / 436.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.3016, allocations: 0 / 436.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3016, allocations: 8 kB / 436.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.256e-05/0.3017, allocations: 114.2 kB / 436.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3017, allocations: 3.938 kB / 436.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.3019, allocations: 19.94 kB / 437 MB, free: 1.359 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.0006271/0.3025, allocations: 0.7334 MB / 437.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.3027, allocations: 91.72 kB / 437.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3027, allocations: 0 / 437.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.3027, allocations: 0 / 437.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.3031, allocations: 79.94 kB / 437.9 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.3048, allocations: 1.657 MB / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.3052, allocations: 0.7162 MB / 440.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.3052, allocations: 12.58 kB / 440.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.3053, allocations: 27.44 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3053, allocations: 4 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3288, allocations: 2.691 MB / 443 MB, free: 11.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.27, allocations: 6.125 kB / 443 MB, free: 11.24 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.957909894001205]