Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001917/0.001917, allocations: 119.9 kB / 17.79 MB, free: 5.285 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.002372/0.002372, allocations: 185.2 kB / 20.73 MB, free: 2.355 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.364/1.364, allocations: 225.6 MB / 249.1 MB, free: 3.59 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.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 51.92 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002219/0.1045, allocations: 0.9231 MB / 418.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.1049, allocations: 135.5 kB / 418.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.105, allocations: 4 kB / 418.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.486e-05/0.105, allocations: 11.86 kB / 418.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.1051, allocations: 7.938 kB / 418.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1054, allocations: 55.88 kB / 418.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.1055, allocations: 63.84 kB / 419 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1056, allocations: 32.2 kB / 419 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.845e-05/0.1056, allocations: 23.86 kB / 419 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.1057, allocations: 35.78 kB / 419.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1057, allocations: 4 kB / 419.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.1057, allocations: 4 kB / 419.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.1058, allocations: 23.92 kB / 419.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.1058, allocations: 39.73 kB / 419.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.106, allocations: 87.52 kB / 419.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.106, allocations: 0 / 419.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.106, allocations: 4 kB / 419.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.106, allocations: 0 / 419.2 MB, free: 11.15 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.0004621/0.1065, allocations: 403 kB / 419.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1065, allocations: 8.031 kB / 419.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.1066, allocations: 42.69 kB / 419.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1066, allocations: 20.83 kB / 419.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1069, allocations: 196.2 kB / 419.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1069, allocations: 12.38 kB / 419.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.1069, allocations: 4.375 kB / 419.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.1073, allocations: 217.7 kB / 420.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1073, allocations: 3.938 kB / 420.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1073, allocations: 0 / 420.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1073, allocations: 8 kB / 420.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.509e-05/0.1074, allocations: 38.23 kB / 420.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.1076, allocations: 181.6 kB / 420.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1078, allocations: 122.7 kB / 420.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1079, allocations: 69.11 kB / 420.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.1079, allocations: 4 kB / 420.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1079, allocations: 38.5 kB / 420.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.1079, allocations: 0 / 420.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002897/0.1082, allocations: 163.5 kB / 420.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.1083, allocations: 63.39 kB / 420.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1084, allocations: 140 kB / 420.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1085, allocations: 29.7 kB / 420.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.1085, allocations: 92.45 kB / 421 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1085, allocations: 11.95 kB / 421 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.1086, allocations: 45.64 kB / 421.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1087, allocations: 318.8 kB / 421.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.1088, allocations: 19.98 kB / 421.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1089, allocations: 117.7 kB / 421.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.1091, allocations: 149.5 kB / 421.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1091, allocations: 0 / 421.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002156/0.1093, allocations: 161.3 kB / 421.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1093, allocations: 11.88 kB / 421.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1093, allocations: 4 kB / 421.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.1093, allocations: 8 kB / 421.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.687e-05/0.1093, allocations: 11.98 kB / 421.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.1094, allocations: 7.938 kB / 421.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/0.1094, allocations: 7.938 kB / 421.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1094, allocations: 8.406 kB / 421.9 MB, free: 8.133 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001323/0.1096, allocations: 150.3 kB / 422 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.1097, allocations: 125.5 kB / 422.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.1098, allocations: 13.19 kB / 422.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1098, allocations: 4 kB / 422.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1098, allocations: 0 / 422.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1098, allocations: 0 / 422.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1099, allocations: 185.6 kB / 422.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1099, allocations: 4 kB / 422.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.11, allocations: 15.92 kB / 422.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.11, allocations: 3.938 kB / 422.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.11, allocations: 4 kB / 422.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.11, allocations: 0 / 422.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.11, allocations: 4 kB / 422.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.1102, allocations: 143.8 kB / 422.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/0.1102, allocations: 108.9 kB / 422.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1103, allocations: 4 kB / 422.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.1103, allocations: 8 kB / 422.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-06/0.1103, allocations: 0 / 422.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1103, allocations: 4 kB / 422.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.135e-05/0.1104, allocations: 109.4 kB / 422.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1104, allocations: 3.938 kB / 422.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1106, allocations: 16 kB / 422.8 MB, free: 7.145 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0006187/0.1112, allocations: 0.7612 MB / 423.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1114, allocations: 87.78 kB / 423.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1114, allocations: 1.062 kB / 423.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.1114, allocations: 0 / 423.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1118, allocations: 83.44 kB / 423.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1133, allocations: 1.641 MB / 425.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.1137, allocations: 0.7045 MB / 426.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.843e-05/0.1137, allocations: 8.641 kB / 426.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.1138, allocations: 27.44 kB / 426.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1138, allocations: 0 / 426.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06386/0.1776, allocations: 2.438 MB / 428.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/7.895, allocations: 19.48 kB / 428.6 MB, free: 1.297 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.224247039761394]