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.001402/0.001402, allocations: 118.4 kB / 18.49 MB, free: 4.535 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.001489/0.001489, allocations: 211.1 kB / 21.46 MB, free: 1.582 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.436/1.436, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 51.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1033, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00237/0.1056, allocations: 0.9064 MB / 427.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004139/0.1061, allocations: 143.5 kB / 428.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.1061, allocations: 4 kB / 428.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.1063, allocations: 19.8 kB / 428.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.1064, allocations: 11.88 kB / 428.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1066, allocations: 47.88 kB / 428.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1068, allocations: 63.84 kB / 428.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1069, allocations: 39.91 kB / 428.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.1069, allocations: 27.86 kB / 428.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.963e-05/0.107, allocations: 43.78 kB / 428.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1071, allocations: 4 kB / 428.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.1071, allocations: 8 kB / 428.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.1071, allocations: 31.91 kB / 428.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.1072, allocations: 43.67 kB / 428.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1074, allocations: 103.4 kB / 428.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1074, allocations: 0 / 428.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1074, allocations: 3.938 kB / 428.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1074, allocations: 4 kB / 428.5 MB, free: 3.293 MB / 350.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.000586/0.108, allocations: 410.9 kB / 428.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.108, allocations: 12.03 kB / 428.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.616e-05/0.108, allocations: 192 / 428.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.1081, allocations: 38.75 kB / 429 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.1081, allocations: 16.84 kB / 429 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.1084, allocations: 212.1 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1084, allocations: 12.38 kB / 429.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1084, allocations: 8.375 kB / 429.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.1089, allocations: 240.9 kB / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1089, allocations: 4 kB / 429.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1089, allocations: 3.984 kB / 429.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1089, allocations: 4 kB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.715e-05/0.109, allocations: 55.97 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.1092, allocations: 189.5 kB / 429.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.1094, allocations: 139 kB / 429.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1096, allocations: 76.81 kB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1096, allocations: 4 kB / 429.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1096, allocations: 38.5 kB / 429.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.1096, allocations: 0 / 429.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003333/0.1099, allocations: 176 kB / 430.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.11, allocations: 63.39 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1102, allocations: 161.2 kB / 430.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1102, allocations: 29.7 kB / 430.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.1103, allocations: 96.47 kB / 430.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1103, allocations: 15.88 kB / 430.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.1103, allocations: 41.7 kB / 430.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1105, allocations: 322.8 kB / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.1105, allocations: 23.92 kB / 430.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1106, allocations: 123.9 kB / 431 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1108, allocations: 153.5 kB / 431.1 MB, free: 360 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1108, allocations: 0 / 431.1 MB, free: 360 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000245/0.1111, allocations: 157.4 kB / 431.3 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1111, allocations: 11.94 kB / 431.3 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1111, allocations: 4 kB / 431.3 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1111, allocations: 4 kB / 431.3 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1112, allocations: 35.92 kB / 431.3 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.1113, allocations: 11.92 kB / 431.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.1113, allocations: 16.33 kB / 431.4 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1113, allocations: 12 kB / 431.4 MB, free: 100 kB / 350.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: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$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 (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.000164/0.1115, allocations: 146.3 kB / 431.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.1117, allocations: 141.4 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.1117, allocations: 21.17 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1117, allocations: 0 / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1117, allocations: 0 / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1117, allocations: 0 / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.1119, allocations: 193.6 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1119, allocations: 4 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1121, allocations: 31.92 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1121, allocations: 3.938 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1121, allocations: 0 / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1121, allocations: 4 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1121, allocations: 3.938 kB / 431.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1123, allocations: 166.8 kB / 432.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.1124, allocations: 108.9 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1124, allocations: 8 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.1125, allocations: 4 kB / 432.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-06/0.1125, allocations: 7.984 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1125, allocations: 4 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.854e-05/0.1126, allocations: 115.2 kB / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1126, allocations: 0 / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1128, allocations: 16 kB / 432.3 MB, free: 15.03 MB / 366.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: 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.0006809/0.1135, allocations: 0.7724 MB / 433.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1137, allocations: 106.5 kB / 433.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1137, allocations: 0 / 433.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.1137, allocations: 4.188 kB / 433.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1141, allocations: 83.86 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.1159, allocations: 1.722 MB / 435 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1162, allocations: 0.7238 MB / 435.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.89e-05/0.1163, allocations: 13.09 kB / 435.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.1163, allocations: 31.42 kB / 435.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1163, allocations: 0 / 435.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.1365, allocations: 2.663 MB / 438.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/7.881, allocations: 23.69 kB / 438.5 MB, free: 8.844 MB / 366.1 MB " [Timeout remaining time 652] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/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] "" Variables in the reference:time,assignClock1.y[1],assignClock1.y[2] Variables in the result: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),sum1.k[1],sum1.k[2],sum1.nu,sum1.u[1],sum1.u[2],sum1.y,sum2.k[1],sum2.k[2],sum2.nu,sum2.u[1],sum2.u[2],sum2.y,time,unitDelay1.u,unitDelay1.y,unitDelay1.y_start,unitDelay2.u,unitDelay2.y,unitDelay2.y_start [Calling sys.exit(0), Time elapsed: 10.49986603303114]