Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 249.1 MB, free: 3.578 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 51.86 kB / 365.6 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1024, allocations: 52.14 MB / 417.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002247/0.1046, allocations: 0.9147 MB / 418.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003776/0.105, allocations: 147.5 kB / 418.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.105, allocations: 0 / 418.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.1052, allocations: 15.88 kB / 418.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.1053, allocations: 19.84 kB / 418.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.1055, allocations: 43.91 kB / 418.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1056, allocations: 67.81 kB / 419 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1057, allocations: 35.92 kB / 419 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.1058, allocations: 31.86 kB / 419 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.1058, allocations: 39.78 kB / 419.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1059, allocations: 4 kB / 419.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.1059, allocations: 4 kB / 419.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.1059, allocations: 35.89 kB / 419.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.106, allocations: 43.69 kB / 419.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1062, allocations: 99.5 kB / 419.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1062, allocations: 0 / 419.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1062, allocations: 0 / 419.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1062, allocations: 3.938 kB / 419.3 MB, free: 11.17 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.0005378/0.1067, allocations: 414.9 kB / 419.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1067, allocations: 15.95 kB / 419.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.1068, allocations: 38.75 kB / 419.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.1068, allocations: 16.84 kB / 419.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.1071, allocations: 216.1 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1071, allocations: 12.31 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1071, allocations: 12.31 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.1075, allocations: 230.1 kB / 420.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1075, allocations: 3.938 kB / 420.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1075, allocations: 4 kB / 420.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1075, allocations: 0 / 420.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/0.1076, allocations: 51.97 kB / 420.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.1078, allocations: 197.4 kB / 420.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1081, allocations: 139 kB / 420.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.1082, allocations: 87.19 kB / 420.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.1082, allocations: 0 / 420.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1082, allocations: 34.56 kB / 420.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.1082, allocations: 0 / 420.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003083/0.1085, allocations: 177.7 kB / 420.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.1086, allocations: 59.41 kB / 420.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1087, allocations: 167.2 kB / 421.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.1088, allocations: 29.7 kB / 421.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.1088, allocations: 92.47 kB / 421.2 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.1088, allocations: 11.92 kB / 421.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.1089, allocations: 45.66 kB / 421.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.109, allocations: 322.8 kB / 421.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/0.1091, allocations: 19.98 kB / 421.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1092, allocations: 117.7 kB / 421.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.1094, allocations: 157.4 kB / 421.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1094, allocations: 0 / 421.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002263/0.1096, allocations: 161.3 kB / 422 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1096, allocations: 13.97 kB / 422.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1096, allocations: 4 kB / 422.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1096, allocations: 4 kB / 422.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1097, allocations: 32.42 kB / 422.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1098, allocations: 12 kB / 422.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.1098, allocations: 15.89 kB / 422.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1098, allocations: 8 kB / 422.1 MB, free: 7.977 MB / 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.000134/0.11, allocations: 146.3 kB / 422.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.1102, allocations: 143.4 kB / 422.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.1102, allocations: 25.06 kB / 422.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1102, allocations: 0 / 422.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1102, allocations: 4 kB / 422.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1102, allocations: 3.984 kB / 422.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.1104, allocations: 189.6 kB / 422.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1104, allocations: 0 / 422.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1105, allocations: 27.98 kB / 422.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1105, allocations: 3.938 kB / 422.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1105, allocations: 0 / 422.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1105, allocations: 4 kB / 422.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1105, allocations: 0 / 422.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1107, allocations: 172.9 kB / 422.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1108, allocations: 108.9 kB / 422.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1109, allocations: 11.94 kB / 423 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.935e-05/0.1109, allocations: 0 / 423 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-06/0.1109, allocations: 4 kB / 423 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.1109, allocations: 7.938 kB / 423 MB, free: 7.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.819e-05/0.111, allocations: 118.5 kB / 423.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.111, allocations: 0 / 423.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1112, allocations: 16 kB / 423.1 MB, free: 6.91 MB / 350.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.0006847/0.1119, allocations: 0.7832 MB / 423.9 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1121, allocations: 104.6 kB / 424 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1121, allocations: 0 / 424 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.1121, allocations: 0 / 424 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1125, allocations: 88.67 kB / 424.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1143, allocations: 1.724 MB / 425.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1147, allocations: 0.7239 MB / 426.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.1147, allocations: 9.078 kB / 426.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.1148, allocations: 35.42 kB / 426.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1148, allocations: 0 / 426.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.14, allocations: 2.626 MB / 429.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.051, allocations: 23.03 kB / 429.2 MB, free: 0.7266 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.41158487321809]