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.001846/0.001846, allocations: 112 kB / 20.43 MB, free: 1.457 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.001793/0.001793, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.47/1.47, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.001572/0.001572, allocations: 51.91 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002928/0.3029, allocations: 0.9436 MB / 423.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004235/0.3033, allocations: 131.6 kB / 423.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.3034, allocations: 0 / 423.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.3035, allocations: 15.88 kB / 423.7 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.917e-05/0.3036, allocations: 11.86 kB / 423.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.3039, allocations: 43.89 kB / 423.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.304, allocations: 67.77 kB / 423.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3042, allocations: 28.22 kB / 423.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.3042, allocations: 23.92 kB / 423.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.3043, allocations: 35.78 kB / 423.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3043, allocations: 4 kB / 423.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.3043, allocations: 8 kB / 423.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.3044, allocations: 31.91 kB / 424 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.3045, allocations: 35.75 kB / 424 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.3046, allocations: 88.36 kB / 424.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.3047, allocations: 7.984 kB / 424.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3047, allocations: 0 / 424.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3047, allocations: 0 / 424.1 MB, free: 13.15 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.000477/0.3051, allocations: 309.5 kB / 424.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3052, allocations: 12.03 kB / 424.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.3052, allocations: 42.73 kB / 424.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3053, allocations: 16.84 kB / 424.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.3056, allocations: 153.6 kB / 424.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.3056, allocations: 8.375 kB / 424.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.3056, allocations: 8.375 kB / 424.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.306, allocations: 210.3 kB / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.306, allocations: 7.938 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.306, allocations: 0 / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.306, allocations: 4 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.303e-05/0.3061, allocations: 35.98 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.3063, allocations: 160.6 kB / 425 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.3065, allocations: 123 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3066, allocations: 76.75 kB / 425.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3067, allocations: 7.938 kB / 425.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.3067, allocations: 30.56 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.3067, allocations: 0 / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003194/0.307, allocations: 165 kB / 425.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.3071, allocations: 59.41 kB / 425.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3072, allocations: 141.8 kB / 425.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3072, allocations: 29.7 kB / 425.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.3073, allocations: 88.47 kB / 425.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.3073, allocations: 15.94 kB / 425.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.3074, allocations: 37.7 kB / 425.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3075, allocations: 322.8 kB / 426.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.3076, allocations: 19.92 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3077, allocations: 113.7 kB / 426.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3078, allocations: 153.5 kB / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3079, allocations: 7.938 kB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002311/0.3081, allocations: 153.2 kB / 426.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3081, allocations: 11.94 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3081, allocations: 4 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.3081, allocations: 4 kB / 426.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.373e-05/0.3082, allocations: 20.42 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3082, allocations: 8 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.3082, allocations: 7.938 kB / 426.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3082, allocations: 8 kB / 426.6 MB, free: 10.34 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: 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.0001481/0.3084, allocations: 141.7 kB / 426.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.3086, allocations: 125.5 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.3086, allocations: 17.12 kB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3086, allocations: 0 / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3086, allocations: 0 / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3086, allocations: 7.938 kB / 426.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.3088, allocations: 156.7 kB / 427 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3088, allocations: 0 / 427 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.3088, allocations: 3.938 kB / 427.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3088, allocations: 7.938 kB / 427.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3088, allocations: 7.984 kB / 427.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3088, allocations: 3.984 kB / 427.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3088, allocations: 0 / 427.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.309, allocations: 156.9 kB / 427.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.3091, allocations: 27.81 kB / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.3091, allocations: 0 / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.562e-05/0.3091, allocations: 8 kB / 427.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-06/0.3091, allocations: 0 / 427.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.3091, allocations: 7.984 kB / 427.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.619e-05/0.3092, allocations: 108.6 kB / 427.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3092, allocations: 0 / 427.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.3094, allocations: 16 kB / 427.4 MB, free: 9.484 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: 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.0007149/0.3101, allocations: 0.7549 MB / 428.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.3103, allocations: 84.84 kB / 428.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3103, allocations: 8.062 kB / 428.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-07/0.3103, allocations: 0 / 428.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.3108, allocations: 77.42 kB / 428.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.3123, allocations: 1.634 MB / 429.9 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3126, allocations: 0.7084 MB / 430.7 MB, free: 6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.594e-05/0.3127, allocations: 8.656 kB / 430.7 MB, free: 5.992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.3127, allocations: 31.42 kB / 430.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3127, allocations: 0 / 430.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.3412, allocations: 2.627 MB / 433.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.24, allocations: 4 kB / 433.3 MB, free: 3.465 MB / 334.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable assignClock1.y[1] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[1] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv failed! Error: Could not read variable assignClock1.y[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv. Warning: Get data of variable assignClock1.y[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.871585193999636]